Secunia - Stay Secure
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


X.Org X11 User Privilege Checking Security Bypass Advisory Available in Danish 

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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
JustSystems Ichitaro Products Unspecified Code Execution Vulnerability
2.
OpenOffice "rtl_allocateMe mory()" Truncation Vulnerability
3.
Honeyd "test.sh" Insecure Temporary Files
4.
Red Hat Directory Server Multiple Vulnerabilities
5.
HP-UX update for Apache
6.
Tiger "genmsgidx" Insecure Temporary Files
7.
Red Hat Directory Server Denial of Service Vulnerabilities
8.
Red Hat update for tomcat
9.
Ampache "gather-message s.sh" Insecure Temporary Files
10.
Red Hat update for adminutil





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia