Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156034 - x11-misc/emerald-themes installs files owned by uid=gid=1000
Summary: x11-misc/emerald-themes installs files owned by uid=gid=1000
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joshua Jackson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-23 07:44 UTC by Albert Hopkins (RETIRED)
Modified: 2006-12-07 13:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Hopkins (RETIRED) gentoo-dev 2006-11-23 07:44:57 UTC
# ls -l `epm -ql emerald-themes`|less
-rw-r--r-- 1   1000   1000  1109 Nov 23 09:36 /usr/share/emerald/themes/Adonis/buttons.above.png
-rw-r--r-- 1   1000   1000  1517 Nov 23 09:36 
[...]

Luckily (for me) I don't have a user with uid=1000
Comment 1 Albert Hopkins (RETIRED) gentoo-dev 2006-11-23 07:56:06 UTC
Actually looking further, some of the files are owned by mythtv (uid=gid=103):

117696    4 -rw-r--r--   1 mythtv   mythtv        423 Nov 23 09:36 /usr/share/emerald/themes/Canopy/buttons.sticky.png
117692    4 -rw-r--r--   1 mythtv   mythtv        742 Nov 23 09:36 /usr/share/emerald/themes/Canopy/buttons.shade.png
117686    4 -rw-r--r--   1 mythtv   mythtv        311 Nov 23 09:36 /usr/share/emerald/themes/Canopy/buttons.restore.png
117685    4 -rw-r--r--   1 mythtv   mythtv        313 Nov 23 09:36 /usr/share/emerald/themes/Canopy/buttons.max.png
117691    4 -rw-r--r--   1 mythtv   mythtv        257 Nov 23 09:36 /usr/share/emerald/themes/Canopy/buttons.menu.png
[...]
Comment 2 Matthias Geerdsen (RETIRED) gentoo-dev 2006-12-05 12:06:08 UTC
unrestricting, so bug-wranglers can access this

I don't see a real security impact here at the moment. Correct me if I am overlooking something though, since I'm getting quite tired...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-05 12:09:45 UTC
BTW, nesl247@bery-project.org doesn't match any bugzilla alias, nor does a typo-fixed one match anything. Please fix metadata.xml
Comment 4 Albert Hopkins (RETIRED) gentoo-dev 2006-12-05 16:05:33 UTC
Well a local user with uid=1000 and/or mythtv has the capacity to remove/overwrite files/directories as well as potentially fill the /usr filesystem, bypass quotas, etc. Probably not a *major* security issue (e.g. gain root access) but a security issue nonetheless.
Comment 5 Joshua Jackson (RETIRED) gentoo-dev 2006-12-05 16:16:07 UTC
that is a bit funky and I'll look into it. See why its creating such funky group user combinations.
Comment 6 Joshua Jackson (RETIRED) gentoo-dev 2006-12-07 13:31:26 UTC
This should now be fixed. The tar files have some really funky user/groups and I am ignoring them so it should work fine in the -r1 now. It should also be fixed upstream later down the line.