LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Security Week: February 6th, 2012
Linux Advisory Watch: February 3rd, 2012
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
Gentoo: XFree86 Buffer overflow vulnerability Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
Gentoo Exploitation allows local attackers to gain root privileges.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200402-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
~                                             http://security.gentoo.org
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

~  Severity: High
~     Title: XFree86 Font Information File Buffer Overflow
~      Date: February 11, 2004
~        ID: 200402-02

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Exploitation of a buffer overflow in the XFree86 Project Inc.'s XFree86
X Window System allows local attackers to gain root privileges.

Background
==========

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.

Description
===========

Exploitation of a buffer overflow in the XFree86 Window System
discovered by iDefence [ 1 ] allows local attackers to gain root privileges.

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, you can run:

# cat > fonts.dir < fonts.alias
# X :0 -fp $PWD

{Some output removed}... Server aborting... Segmentation fault (core dumped)

Impact
======

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.

Workaround
==========

No immediate workaround is available; a software upgrade is required.

Gentoo has released XFree 4.2.1-r3, 4.3.0-r4 and 4.3.99.902-r1 and
encourages all users to upgrade their XFree86 installations. Vulnerable
versions are no longer available in Portage.

Resolution
==========

All users are recommended to upgrade their XFree86 installation:

~    # emerge sync
~    # emerge -pv x11-base/xfree
~    # emerge x11-base/xfree

References
==========

[1] www.idefense.com/application/poi/display?id=72&type=vulnerabilities

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at 
http://bugs.gentoo.org.

 
< Prev   Next >
    
Partner

 

Latest Features
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Using the sec-wall Security Proxy
sec-wall: Open Source Security Proxy
Yesterday's Edition
Operation Ghost Click DNS servers to shut down in March
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2012 Guardian Digital, Inc. All rights reserved.