OSVDB ID: 11922

Title: XFree86 libX11.so LD_PRELOAD Privilege Escalation

Info

Disclosure

Sep 18, 2002

Discovery

Unknown

Dates

Exploit

Unknown

Solution

Unknown

Description

A local overflow exists in XFree86. The libX11.so library fails to do a secure checking with the LD_PRELOAD environment variable while running a SUID executable. As a result an attacker can use his own library to poison a program using dynamically loadable libraries. By setting LD_PRELOAD, an attacker can execute arbitrary code and gain priviledges resulting in a loss of integrity.

Classification

Location: Local Access Required
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Rumored
Disclosure: OSVDB Verified

Solution

Upgrade to version 4.2.1 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Products

XFree86 Project, Inc.

X11R6

4.2.0
4.1.0

References

Credit

Unknown or Incomplete



Direct URL: http://osvdb.org/11922