|
X.Org X11 User Privilege Checking Security Bypass
|
|
|
|
|
Secunia Advisory:
|
SA19307
|
|
|
Release Date:
|
2006-03-21
|
|
Last Update:
|
2006-08-17
|
|
|
Critical:
|

Less critical
|
|
Impact:
|
Security Bypass
|
|
Where:
|
Local system
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | X Window System 11 (X11) 6.x X Window System 11 (X11) 7.x
|
| | CVE reference: | CVE-2006-0745 (Secunia mirror)
|
|
|
Want to know the next time vulnerabilities are fixed in this product? - Companies can be alerted via email and SMS! |
|
|
Description: A vulnerability has been reported in X11, which can be exploited by malicious, local users to bypass certain security restrictions.
Normally, a non-root user is not allowed to pass arguments to the "-logfile" and "-modulepath" command line options. However, an error exists when checking a user's privileges as the address of the "geteuid()" function is tested and not the result of the function. This can be exploited to pass arbitrary arguments to the "-logfile" and "-modulepath" options, which allows overwriting of arbitrary files or execution of arbitrary code with root privileges.
The vulnerability has been reported in X.Org server 1.0.0 (as shipped with X11R7.0) and later, X11R6.9.0 and X11R7.0 (including all release candidates). X11R6.8.2 and prior versions are reportedly not affected.
Solution: -- X.Org Server (X11R7) --
Apply patch for versions 1.0.0 and 1.0.1 or update to version 1.0.2.
Patches:
http://xorg.freedesktop.org/releases/...atches/xorg-server-1.0.1-geteuid.diff
80db6a3ab76334061ec6102e74ef5607
http://xorg.freedesktop.org/releases/...atches/xorg-server-1.0.1-geteuid.diff
44b44fa3efc63697eefadc7c2a1bfa50a35eec91
-- X.Org Server (X11R6.9) --
Apply patch:
http://xorg.freedesktop.org/releases/X11R6.9.0/patches/x11r6.9.0-geteuid.diff
de85e59b8906f76a52ec9162ec6c0b63
http://xorg.freedesktop.org/releases/X11R6.9.0/patches/x11r6.9.0-geteuid.diff
f9b73b7c1bd7d6d6db6d23741d5d1125eea5f860
Provided and/or discovered by: Discovered with Coverity Prevent code audit tool and reported by vendor.
Changelog: 2006-08-17: Added link to US-CERT.
Original Advisory: http://lists.freedesktop.org/archives/xorg/2006-March/013992.html
Other References: US-CERT VU#837857:
http://www.kb.cert.org/vuls/id/837857
|
|
|
|
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|
|
|
|
17 Related Secunia Security Advisories, displaying 10
|
|
|
1. X.org X11 Multiple Vulnerabilities
|
|
2. X.org X11 Multiple Vulnerabilities
|
|
3. X.Org X11 X Font Server Multiple Vulnerabilities
|
|
4. X.org X11 Composite Pixmap Privilege Escalation Vulnerability
|
|
5. X.Org X11 Multiple Vulnerabilities
|
|
6. X.Org X11 "DBE" and "Render" Extensions Vulnerabilities
|
|
7. libX11 XCOMPOSEFILE File Descriptor Leak
|
|
8. X.Org X11 X Display Manager "Xsession" Script Security Issue
|
|
9. X11 libXfont CID Encoded Fonts Integer Overflows
|
|
10. X11 "_XKB_CHARSET" Buffer Overflow Vulnerability
|
Show all related advisories
|
|
|
Send Feedback to Secunia
|
|
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.
|
|
|
|