blob: 8f60b9344a0ab3a908025b9efe93e5bfc9c6a697 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200402-02">
<title>XFree86 Font Information File Buffer Overflow</title>
Exploitation of a buffer overflow in the XFree86 Project Inc.'s XFree86 X
Window System allows local attackers to gain root privileges.
<product type="ebuild">200402-02</product>
<announced>February 11, 2004</announced>
<revised>February 11, 2004: 01</revised>
<package name="x11-base/xfree" auto="yes" arch="*">
<vulnerable range="lt"></vulnerable>
<unaffected range="eq">4.2.1-r3</unaffected>
<unaffected range="eq">4.3.0-r4</unaffected>
<unaffected range="ge"></unaffected>
XFree86, provides a client/server interface between display
hardware and the desktop environment while also providing both the
windowing infrastructure and a standardized API. XFree86 is
platform independent, network-transparent and extensible.
Exploitation of a buffer overflow in The XFree86 Window System
discovered by iDefence allows local attackers to gain root
The problem exists in the parsing of the 'font.alias' file. The X
server (running as root) fails to check the length of the user
provided input, so a malicious user may craft a malformed
'font.alias' file causing a buffer overflow upon parsing,
eventually leading to the execution of arbitrary code.
To reproduce the overflow on the command line one can run:
# cat > fonts.dir &lt;&lt;EOF
word.bdf -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
# perl -e 'print "0" x 1024 . "A" x 96 . "\n"' > fonts.alias
# X :0 -fp $PWD</code>
{Some output removed}... Server aborting... Segmentation fault (core dumped)
<impact type="high">
Successful exploitation can lead to a root compromise provided
that the attacker is able to execute commands in the X11
subsystem. This can be done either by having console access to the
target or through a remote exploit against any X client program
such as a web-browser, mail-reader or game.
No immediate workaround is available; a software upgrade is required.
Gentoo has released XFree 4.2.1-r3, 4.3.0-r4 and and
encourages all users to upgrade their XFree86
installations. Vulnerable versions are no longer available in
All users are recommended to upgrade their XFree86 installation:
# emerge sync
# emerge -pv x11-base/xfree
# emerge x11-base/xfree</code>
link="">CVE: CAN-2004-0083</uri>
<uri link=";type=vulnerabilities">Vulnerability:
XFree86 Font Information File Buffer Overflow</uri>