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

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                          ESB-2008.0222 -- [AIX]
                   AIX X server multiple vulnerabilities
                             29 February 2008

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              AIX 6
                      AIX 5.3
                      AIX 5.2
Publisher:            IBM
Impact:               Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
CVE Names:            CVE-2008-0006 CVE-2007-6429 CVE-2007-6428
                      CVE-2007-6427 CVE-2007-5958 CVE-2007-5760

Ref:                  ESB-2008.0063

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----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-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBR8dfxCh9+71yA2DNAQIpWQQAi83bTEccKLRuxIMjZbhB7AOTG4kYONhE
SzhkXN7+tYWAVawEfY4yMSrbrnobAzX4ntoxnikfVhXMHs8JVDYrRbhLQ8JK3Qhx
Yo1sUMieXrOPXcBo3sQfL0XDVNl03AkNDvZd3cstTXxqSZpmi79kSMEbb+RwHL3Z
kOTlMYdffAI=
=4tT+
-----END PGP SIGNATURE-----