SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Generic)  >   X Vendors:   X.org
(IBM Issues Fix for AIX) X Server Bugs in XFree86, Xinput, TOG-CUP, MIT-SHM, and EVI Extensions Let Local Users Gain Root Privileges
SecurityTracker Alert ID:  1019521
SecurityTracker URL:  http://securitytracker.com/id/1019521
CVE Reference:   CVE-2007-6427, CVE-2007-6428, CVE-2007-6429, CVE-2008-0006   (Links to External Site)
Date:  Feb 28 2008
Impact:   Disclosure of system information, Disclosure of user information, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 7.3
Description:   Several vulnerabilities were reported in X. A local user can obtain root privileges on the target system. A local user can determine whether certain files or directories exist on the target system.

A local user can exploit any of several memory corruption errors in the X server to execute arbitrary code with the privileges of the target X server (typically root level privileges).

A local user can supply a specially PassMessage request to cause an out-of-bounds array index error and trigger a pointer dereference in the XFree86 Misc extension [CVE-2007-5760].

A local user can supply a certain type of command ('X :1 -sp <file>') specifying an arbitrary file or directory to identify whether the specified file exists in access-restricted directories based on the error message returned by the system [CVE-2007-5958].

A local user can trigger a heap corruption error in the Xinput extension [CVE-2007-6427].

A local user can read arbitrary memory contents by exploiting the ProcGetReservedColormapEntries() function in the TOG-CUP extension [CVE-2007-6428].

A local user can supply a specially crafted request to trigger an integer overflow in the pixmap creation process in the MIT-SHM and EVI extensions [CVE-2007-6429].

A local user can supply a specially crafted PCF font to trigger a buffer overflow [CVE-2008-0006].

regenrecht reported CVE-2007-5760, CVE-2007-6427, CVE-2007-6428, and CVE-2007-6429 via iDefense. Takuya Shiozaki of CodeBlog reported CVE-2008-0006. An anonymous researcher reported CVE-2007-5859.

Impact:   A local user can obtain root privileges on the target system.

A local user can determine whether files or directories exist on the target system.

Solution:   IBM has issued a fix for IBM AIX for CVE-2007-6427, CVE-2007-6428, CVE-2007-6429, and CVE-2008-0006. AIX is not affected by CVE-2007-5760 and CVE-2007-5958.

IBM plans to issue the following APARs:

For 5.2.0: IZ13652
For 5.3.0: IZ13653
For 5.3.7: IZ13654
For 6.1.0: IZ13655

An interim fix is also available at:

ftp://aix.software.ibm.com/aix/efixes/security/X_ifix.tar

The IBM advisories are available at:

http://www.ibm.com/support/docview.wss?uid=isg1IZ13652
http://www.ibm.com/support/docview.wss?uid=isg1IZ13653
http://www.ibm.com/support/docview.wss?uid=isg1IZ13654
http://www.ibm.com/support/docview.wss?uid=isg1IZ13655

Vendor URL:  lists.freedesktop.org/archives/xorg/2008-January/031918.html (Links to External Site)
Cause:   Access control error, Boundary error
Underlying OS:   UNIX (AIX)

Message History:   This archive entry is a follow-up to the message listed below.
Jan 17 2008 X Server Bugs in XFree86, Xinput, TOG-CUP, MIT-SHM, and EVI Extensions Let Local Users Gain Root Privileges



 Source Message Contents

Date:  Thu, 28 Feb 2008 07:49:39 -0500
Subject:  IBM AIX



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

IBM SECURITY ADVISORY

First Issued: Wed Feb 27 10:57:32 CST 2008
===============================================================================
                           VULNERABILITY SUMMARY

VULNERABILITY:   AIX X server multiple vulnerabilities

PLATFORMS:       AIX 5.2, 5.3, 6.1

SOLUTION:        Apply the fix or workaround as described below.

THREAT:          An attacker may execute arbitrary code with root
                 privileges.

CVE Numbers:     CVE-2007-6427, CVE-2007-6428, CVE-2007-6429, CVE-2008-0006
===============================================================================
                           DETAILED INFORMATION

I. DESCRIPTION

    There are multiple vulnerabilities in the AIX X server.  Please
    refer to the following links for more information:

    http://lists.freedesktop.org/archives/xorg/2008-January/031918.html
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6427
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6428
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6429
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0006

    Please note that AIX does not have the vulnerabilities described
    in CVE-2007-5760 and CVE-2007-5958.

    The successful exploitation of these vulnerabilities allows a
    non-privileged user to execute code with root privileges.  If the
    X server is configured to allow remote connections, remote attacks
    are possible.

    The following commands are vulnerable:

        /usr/bin/X11/X

II. PLATFORM VULNERABILITY ASSESSMENT

    To determine if your system is vulnerable, execute the following
    command:

    lslpp -L X11.base.rte

    The following fileset levels are vulnerable:

    AIX Fileset        Lower Level       Upper Level
    ------------------------------------------------
    X11.base.rte       5.2.0.0           5.2.0.106
    X11.base.rte       5.3.0.0           5.3.0.62
    X11.base.rte       5.3.7.0           5.3.7.1
    X11.base.rte       6.1.0.0           6.1.0.2

III. SOLUTIONS

    A. APARS

        IBM has assigned the following APARs to this problem:

        AIX Level           APAR number        Availability
        ---------------------------------------------------
        5.2.0               IZ13652            05/07/08
        5.3.0               IZ13653            03/12/08
        5.3.7               IZ13654            03/12/08
        6.1.0               IZ13655            04/09/08

        Subscribe to the APARs here:

        http://www.ibm.com/support/docview.wss?uid=isg1IZ13652
        http://www.ibm.com/support/docview.wss?uid=isg1IZ13653
        http://www.ibm.com/support/docview.wss?uid=isg1IZ13654
        http://www.ibm.com/support/docview.wss?uid=isg1IZ13655

        By subscribing, you will receive periodic email alerting you
        to the status of the APAR, and a link to download the fix once
        it becomes available.

    B. FIXES

        Fixes are available.  The fixes can be downloaded via ftp
        from:

        ftp://aix.software.ibm.com/aix/efixes/security/X_ifix.tar

        The link above is to a tar file containing this signed
        advisory, fix packages, and PGP signatures for each package.
        The fixes below include prerequisite checking. This will
        enforce the correct mapping between the fixes and AIX
        Technology Levels.

        AIX Level          Interim Fix
        -------------------------------------------------------------------
        5.2.0 TL8          IZ13652_08.080214.epkg.Z
        5.2.0 TL9          IZ13652_09.080214.epkg.Z
        5.2.0 TL10         IZ13652_10.080214.epkg.Z
        5.3.0 TL5          IZ13653_05.080214.epkg.Z
        5.3.0 TL6          IZ13653_06.080214.epkg.Z
        5.3.7              IZ13654_07.080214.epkg.Z
        6.1.0              IZ13655_00.080214.epkg.Z

        To extract the fixes from the tar file:

        tar xvf X_ifix.tar
        cd X_ifix

        Verify you have retrieved the fixes intact:

        The checksums below were generated using the "sum", "cksum",
        "csum -h MD5" (md5sum), and "csum -h SHA1" (sha1sum) commands
        and are as follows:

        sum         filename
        ------------------------------------
        29454  1764 IZ13652_08.080214.epkg.Z
        54867  1763 IZ13652_09.080214.epkg.Z
        22131  1765 IZ13652_10.080214.epkg.Z
        46384  1820 IZ13653_05.080214.epkg.Z
        48056  1819 IZ13653_06.080214.epkg.Z
        56839  1820 IZ13654_07.080214.epkg.Z
        22144  2214 IZ13655_00.080214.epkg.Z

        cksum              filename
        ------------------------------------------
        84291091   1805551 IZ13652_08.080214.epkg.Z
        1431371517 1805065 IZ13652_09.080214.epkg.Z
        2007335003 1806825 IZ13652_10.080214.epkg.Z
        3474601132 1863121 IZ13653_05.080214.epkg.Z
        313288505  1862398 IZ13653_06.080214.epkg.Z
        1719442596 1862767 IZ13654_07.080214.epkg.Z
        2099107711 2267095 IZ13655_00.080214.epkg.Z

        csum -h MD5 (md5sum)              filename
        ----------------------------------------------------------
        b4c94b67e0a89ecbf98de04ff3712505  IZ13652_08.080214.epkg.Z
        67a53991b8a550ea02395538710c359e  IZ13652_09.080214.epkg.Z
        1100c184ecb2bdc769d8740f719bb991  IZ13652_10.080214.epkg.Z
        435a4283d8a4fcc0ce73c3fb1fe41890  IZ13653_05.080214.epkg.Z
        8e7489e24303e88f37c6d61ee37da51d  IZ13653_06.080214.epkg.Z
        f2e0627a31898c914215ded8caa0205b  IZ13654_07.080214.epkg.Z
        e30e32047ebdf153831a0187ad7cdea9  IZ13655_00.080214.epkg.Z

        csum -h SHA1 (sha1sum)                    filename
        ------------------------------------------------------------------
        6e2477ebe0717d08084975388b760f04718f7a65  IZ13652_08.080214.epkg.Z
        5829afefa835ac36217492ec962171d03844347a  IZ13652_09.080214.epkg.Z
        6588e81f74ebe6b39cc10d9e5ab588462b3f1abf  IZ13652_10.080214.epkg.Z
        19360313640f5438a46743360a53d27e485cb5d7  IZ13653_05.080214.epkg.Z
        50d788358b316cff38705970a9a783fe846b8751  IZ13653_06.080214.epkg.Z
        c8392c5558059157607949180838eaeb4be763d0  IZ13654_07.080214.epkg.Z
        d6ba687715bb0c3a6e438b63d0115836d4e35b50  IZ13655_00.080214.epkg.Z

        To verify the sums, use the text of this advisory as input to
        csum, md5sum, or sha1sum. For example:

        csum -h SHA1 -i Advisory.asc
        md5sum -c Advisory.asc
        sha1sum -c Advisory.asc

        These sums should match exactly. The PGP signatures in the tar
        file and on this advisory can also be used to verify the
        integrity of the fixes.  If the sums or signatures cannot be
        confirmed, contact IBM AIX Security at
        security-alert@austin.ibm.com and describe the discrepancy.

    C. INTERIM FIX INSTALLATION

        IMPORTANT: If possible, it is recommended that a mksysb backup
        of the system be created.  Verify it is both bootable and
        readable before proceeding.

        Interim fixes have had limited functional and regression
        testing but not the full regression testing that takes place
        for Service Packs; thus, IBM does not warrant the fully
        correct functionality of an interim fix.

        Interim fix management documentation can be found at:

        http://www14.software.ibm.com/webapp/set2/sas/f/aix.efixmgmt/home.html

        To preview an interim fix installation:

        emgr -e ipkg_name -p         # where ipkg_name is the name of the
                                     # interim fix package being previewed.

        To install an interim fix package:

        emgr -e ipkg_name -X         # where ipkg_name is the name of the
                                     # interim fix package being installed.
        
        IMPORTANT: The ifix requires the user to restart the X-Server.
        The X-Server can be restarted in CDE by exiting CDE and
        selecting restart.
 
IV. WORKAROUNDS

    The X server can be disabled and then killed with the following
    commands:

    /usr/dt/bin/dtconfig -d
    /usr/dt/bin/dtconfig -kill

    The X server can be restored after applying the fix with the
    following commands:

    /usr/dt/bin/dtconfig -e
    /usr/bin/startsrc -s dtsrc

V. OBTAINING FIXES

    AIX security fixes can be downloaded from:

        ftp://aix.software.ibm.com/aix/efixes/security

    AIX fixes can be downloaded from:

        http://www.ibm.com/eserver/support/fixes/fixcentral/main/pseries/aix

    NOTE: Affected customers are urged to upgrade to the latest
    applicable Technology Level and Service Pack.

VI. CONTACT INFORMATION

    If you would like to receive AIX Security Advisories via email,
    please visit:

        http://www14.software.ibm.com/webapp/set2/subscriptions/pqvcmjd
 
    Comments regarding the content of this announcement can be
    directed to:

        security-alert@austin.ibm.com

    To request the PGP public key that can be used to communicate
    securely with the AIX Security Team you can either:

        A. Send an email with "get key" in the subject line to:

            security-alert@austin.ibm.com

        B. Download the key from a PGP Public Key Server. The key ID is:

            0xA6A36CCC

    Please contact your local IBM AIX support center for any
    assistance.

    eServer is a trademark of International Business Machines
    Corporation.  IBM, AIX and pSeries are registered trademarks of
    International Business Machines Corporation.  All other trademarks
    are property of their respective holders.

VII. ACKNOWLEDGMENTS

    Vulnerabilities described by CVE-2007-6427, CVE-2007-6428 and
    CVE-2007-6429 were reported to iDefense Labs by regenrecht.

    CVE-2008-0006 was reported to CERT/CC by Takuya Shiozaki

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (AIX)

iD8DBQFHxZx/8lficKajbMwRAgFdAJ4i5P3YY1mWHmbbLgI9mtKfU/oaZQCfQ0AC
XC/4CZlf4y2Ek7gqT/7XdU0=
=RdPN
-----END PGP SIGNATURE-----
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2013, SecurityGlobal.net LLC