Operating System:

[AIX]

Published:

16 December 2011

Protect yourself against future threats.

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

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

                               ESB-2011.1260
                 Multiple vulnerabilities in the X server
                             16 December 2011

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

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

Product:           AIX 7.1
                   AIX 6.1
Publisher:         IBM
Operating System:  AIX
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2007-6429 CVE-2007-6427 

Reference:         ESB-2008.0222

Original Bulletin: 
   http://aix.software.ibm.com/aix/efixes/security/xorg_advisory.asc

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

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

IBM SECURITY ADVISORY

First Issued: Wed Dec 14 17:01:02 CST 2011

The most recent version of this document is available here:

http://aix.software.ibm.com/aix/efixes/security/xorg_advisory.asc
===============================================================================
                           VULNERABILITY SUMMARY

VULNERABILITY:   Multiple vulnerabilities in the X server

PLATFORMS:       AIX 6.1 and 7.1

SOLUTION:        Apply the fix described below.

THREAT:          See below.

CVE Number:      CVE-2007-6427
                 CVE-2007-6429

Reboot required?    NO
Workarounds?        NO
Protected by FPM?   NO
Protected by SED?   NO
===============================================================================
                           DETAILED INFORMATION

I. DESCRIPTION

    CVE-2007-6427 - Xinput extension memory corruption

    The vulnerable code exists in multiple functions in the XInput
    extension, and occurs when swapping the byte order of client requests.
    By claiming to be sending integer data in the opposite byte order of
    the server, the client can cause the server to swap the byte order of a
    request. The number of bytes swapped can be controlled by the client,
    and is not properly validated by the server. This results in the
    corruption of heap memory located after the client's request data.

    CVE-2007-6429 - MIT-SHM and EVI extensions integer overflows

    The MIT-SHM extension vulnerability exists in the code responsible
    for creating a pixmap in shared memory. When allocating the pixmap,
    the server uses values from the request to verify that the requested
    size is not greater than the allocated shared memory. The calculation
    can overflow, which leads to the overwriting of arbitrary addresses in
    memory that aren't part of the shared memory segment.

    The EVI extension vulnerability exists in the code responsible for
    processing the GetVisualInfo request. When processing this request,
    the server uses a 32-bit value provided by the client in an arithmetic
    operation that calculates the number of bytes to allocate for a
    dynamic buffer. This operation can overflow, which later leads to the
    buffer being overflowed.

II. PLATFORM VULNERABILITY ASSESSMENT

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

    # lslpp -l | grep X11.base.rte

    The following filesets are vulnerable:

    AIX Fileset        Lower Level       Upper Level
    ------------------------------------------------
    X11.base.rte       6.1.4.0           6.1.4.3
    X11.base.rte       6.1.5.0           6.1.5.1
    X11.base.rte       6.1.6.0           6.1.6.16
    X11.base.rte       6.1.7.0           6.1.7.0
    X11.base.rte       7.1.0.0           7.1.0.15
    X11.base.rte       7.1.1.0           7.1.1.0

III. SOLUTIONS

    A. APARS

        IBM has assigned the following APARs to this problem:

        AIX Level           APAR number        Availability
        ---------------------------------------------------
        6.1.5               IV07021            sp8 TBD
        6.1.6               IV07022            sp7 TBD
        6.1.7               IV08676            sp2 available
        7.1.0               TBD                sp5 TBD
        7.1.1               IV08786            sp2 available

        Subscribe to the APARs here:

        http://www.ibm.com/support/docview.wss?uid=isg1IV07021
        http://www.ibm.com/support/docview.wss?uid=isg1IV07022
        http://www.ibm.com/support/docview.wss?uid=isg1IV08676
        http://www.ibm.com/support/docview.wss?uid=isg1IV08786

        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/xorg_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 (*.Z)
        -------------------------------------------------------------------
        6.1.5                         20867.610.111201.epkg.Z
        6.1.6                         20867.610.111201.epkg.Z
        6.1.7                         20867.610.111201.epkg.Z
        7.1.0                         20867.710.111201.epkg.Z
        7.1.1                         20867.710.111201.epkg.Z

        To extract the fixes from the tar file:

        tar xvf xorg_ifix.tar
        cd xorg_ifix

        Verify you have retrieved the fixes intact:

        The checksums below were generated using the 
        csum -h SHA1" (sha1sum) command
        and are as follows:

        csum -h SHA1 (sha1sum)                    filename
        ------------------------------------------------------------------
        e98f5a797ebb4940f519c19c01d95a3b80913ec4  20867.610.111201.epkg.Z
        41ee279f6a522e2ff6b01e6888b6d20fe892f467  20867.710.111201.epkg.Z

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

        csum -h SHA1 -i xorg_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. FIX AND 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.

        To preview a fix installation:

        installp -a -d fix_name -p all  # where fix_name is the name of the
                                        # fix package being previewed.
        To install a fix package:

        installp -a -d fix_name -X all  # where fix_name is the name of the  
                                        # fix package being installed.

        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.

IV. WORKAROUNDS

    No workarounds

V. CONTACT INFORMATION

    If you would like to receive AIX Security Advisories via email,
    please visit:
 
        http://www.ibm.com/systems/support
 
    and click on the "My notifications" link.
 
    To view previously issued advisories, 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:

            0x28BFAA12
 
    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.

VI. REFERENCES:
    
    http://lists.freedesktop.org/archives/xorg-announce/2008-January/000441.html
    CVE-2007-6427: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6427
    CVE-2007-6429: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6429

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

iD8DBQFO6Syj4fmd+Ci/qhIRAtgIAKCdhzVGwbIfeSRE6taZQkx5kNOA6ACeKLgz
oacak2diCGnElHqGGQjJhr8=
=vCk5
- -----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

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

iQIVAwUBTuqwAO4yVqjM2NGpAQKpog//TwYSbn+IDsU2zPXG/TWEPU6fQKcMoUdf
L97r8XScmpQl9+ZZbzm73RdFn7j/67p8YXBbxWonHTpvom2/IDk1W+8eav9xizlj
AsWpQ5mA1QUDLdh/uCKVh71DE5u58Eun+6zRexe5WAi5VpnNXaB0vZKcdKUxjdQ4
Ai2hxNNkPwgqNBxRzUQfSFpLKsxsr4e3+y7Fza4VP3BC1FfHlraor3qxN7WQVFxz
hudq49imCohts/HMSat9yplGNzhGfeEXTFDen0wmUjV3ngGLqDRZWnIsT/ao8pGu
+hxdMlLbgHg4gPzWqpkHZtImIgc9fIPJ+CpbE3U3BRpr5BZ33fcKcaeBK1L207ST
p1pvMywp2KxBrS/C2WHYFMACuBbGrRdxUjgap91cWDdtlA4vqqjRfMfwxtxGiIFb
ZJjwyRjtOn+WalJcInysoweN2Ptszk9jePmoqF+E9JASvbWIIgfsurwOjN6ODuit
kbvKIm/ZkBMTO6uLyyfMGMYdPB14EfduECpaAnn1Av/HQ60JJIhPtF1NBjPp3IY7
GQLEwMop48VsUwroKs530wgLkDzlMfPkX0TizvclBUyHmbGxWV38tIbRyBCtvMjO
oV1Dx3NYTpGcY9tAvqAgmDqfO4ymqZYEj6OnyG3Dp4RyEb5LNM/+xebv1+W7IMTq
jekd8VJgcNk=
=5rFL
-----END PGP SIGNATURE-----