Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 105858 - Gdm has issues with names containing shell metacharacters
Summary: Gdm has issues with names containing shell metacharacters
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Havoc Pennington
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks: CambridgeBlocker
TreeView+ depends on / blocked
 
Reported: 2003-09-28 14:22 UTC by Alan Cox
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-10-21 19:51:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alan Cox 2003-09-28 14:22:22 UTC
In paticular the gdm PreSession script seems to be short quoting on DISPLAY and
USER in various places that matter.

Comment 1 George Lebl 2003-09-29 21:21:33 UTC
Fixing in CVS.  Note that xdm as installed on my box (RH9) has the same issues
when it calls sessreg, I assume kdm has the same as well.  However is this truly
"exploitable"?

It would also be nice to know of any other issues such as this in GDM, is this
the only one found?

Comment 2 Alan Cox 2003-09-29 21:35:26 UTC
I've not done any kind of code review. I don't think its exploitable - you have
to have a valid username containing such characters. 


Comment 3 Havoc Pennington 2003-10-21 19:51:01 UTC
We should have the fix in latest gdm packages


Note You need to log in before you can comment on or make changes to this bug.