Operating System:

[AIX]

Published:

22 June 2012

Protect yourself against future threats.

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

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

                               ESB-2012.0603
                 Arbitary file overwrite symlink in libodm
                               22 June 2012

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

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

Product:           libodm
Publisher:         IBM
Operating System:  AIX
Impact/Access:     Increased Privileges      -- Existing Account
                   Overwrite Arbitrary Files -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-2179  

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

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

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

IBM SECURITY ADVISORY

First Issued: Thu Jun 14 16:00:02 CDT 2012

The most recent version of this document is available here:

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

VULNERABILITY:      Arbitary file overwrite symlink in libodm

PLATFORMS:          AIX 5.3, 6.1, and 7.1 releases

SOLUTION:           Apply the fix as described below

THREAT:             A local attacker could gain lateral or elevated privileges

CVE Number:         CVE-2012-2179

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

I. DESCRIPTION

    AIX could allow a arbitrary file overwrite symlink vulnerability
    due to libodm.a bug. 

II. CVSS

    CVSS Base Score: 6.9
    CVSS Temporal Score: See http://xforce.iss.net/xforce/xfdb/75510 for the
    current score
    CVSS Environmental Score*: Undefined
    CVSS String: (AV:L/AC:M/Au:N/C:C/I:C/A:C)

III. PLATFORM VULNERABILITY ASSESSMENT

    Note: To use the following commands on VIOS you must first
    execute:

    oem_setup_env

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

    lslpp -L bos.rte.odm

    The following fileset levels are vulnerable:

    AIX Fileset        Lower Level       Upper Level
    ------------------------------------------------
    bos.rte.odm         5.3.8.0           5.3.8.0
    bos.rte.odm         6.1.6.0           6.1.6.15
    bos.rte.odm         6.1.6.0           6.1.6.15
    bos.rte.odm         7.1.0.0           7.1.0.15
    bos.rte.odm         7.1.1.0           7.1.1.15

IV. SOLUTIONS

    A. APARS

        IBM has assigned the following APARs to this problem:

        AIX Level           APAR number        Availability
        ---------------------------------------------------
        5.3.12              IV22019            1/04/13  sp7
        6.1.6               IV21379            12/12/12 sp10
        6.1.7               IV21381            7/18/12  sp5
        7.1.0               IV21382            12/12/12 sp8
        7.1.1               IV21383            7/18/12  sp5

        Subscribe to the APARs here:

        http://www.ibm.com/support/docview.wss?uid=isg1IV22019
        http://www.ibm.com/support/docview.wss?uid=isg1IV21379
        http://www.ibm.com/support/docview.wss?uid=isg1IV21381
        http://www.ibm.com/support/docview.wss?uid=isg1IV21382
        http://www.ibm.com/support/docview.wss?uid=isg1IV21383

        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/libodm_fix.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)
        -------------------------------------------------------------------
        5.3.12.5                      IV22019.120604.epkg.Z
        6.1.6.7                       IV21379.120613.epkg.Z
        6.1.7.4                       IV21381.120613.epkg.Z
        7.1.0.5                       IV21382.120613.epkg.Z
        7.1.1.4                       IV21383.120613.epkg.Z

        VIOS Level                    Interim Fix (*.Z)
        -------------------------------------------------------------------
        2.2.1.4-FP-25 SP-02           VIOS.120619.epkg.Z

        To extract the fixes from the tar file:

        tar xvf libodm_fix.tar
        cd libodm_fix

        Verify you have retrieved the fixes intact:

        The checksums below were generated using the
        "csum -h SHA1" (sha1sum) command is the followng:

        csum -h SHA1 (sha1sum)                    filename
        ------------------------------------------------------------------
        70edcac02c9891e6029d5a88e8c1891a3f354526  IV21379.120613.epkg.Z
        9e11b93c90a4bb355025b0083a8b79fdd6cf9681  IV21381.120613.epkg.Z
        5452adf1f5933f4f0af98a05ad90c41443134111  IV21382.120613.epkg.Z
        5891961e0ea9826f31a6824525fa8c998d539682  IV21383.120613.epkg.Z
        a292565751434a40508131f6371a07060566e494  IV22019.120604.epkg.Z
        65b4ccf11a71ee5dcf4d97f7d554d31401ad76b7  VIOS.120619.epkg.Z


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

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

V. WORKAROUNDS

    None

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

VII. 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:

            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.

VIII. ACKNOWLEDGMENTS

    This vulnerability was reported by Jakub Wartak.

IX. REFERENCES:

    Complete CVSS Guide: http://www.first.org/cvss/cvss-guide.html
    On-line Calculator V2: http://nvd.nist.gov/cvss.cfm?calculator&adv&version=2
    X-Force Vulnerability Database: http://xforce.iss.net/xforce/xfdb/75510
    CVE-2012-2179: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2179

    *The CVSS Environment Score is customer environment specific and will
    ultimately impact the Overall CVSS Score. Customers can evaluate the
    impact of this vulnerability in their environments by accessing the links
    in the Reference section of this Flash.

    Note: According to the Forum of Incident Response and Security Teams
    (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry
    open standard designed to convey vulnerability severity and help to
    determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES
    "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE
    RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY
    VULNERABILITY.

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

iD8DBQFP4i5j4fmd+Ci/qhIRAufmAJ9qpRYq18JVn2iqOTZ5Bg77Vec4YwCfYF+d
B3InsoIOsVuLe6r2DGjijns=
=TlSn
- -----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

iQIVAwUBT+PHVe4yVqjM2NGpAQLTEQ/8CJ0tYSLtBBs6Irq5YW3v9J1IcwdcxFAq
s38gE2LjqSvoW/cduSYZ33E77QzE6RWQtegpdWFuio2VnJiuwgGzD8lPUJmS1iCe
1eODxvAVr+QLfc3msPwqkKe5/4xHaq9RMREJOIGD3V8O5vdao9RrlmkQ9GbMCikw
4KPIhCtLgdLpoJcFsBhXKaNg+vT6AoXbAWbv38ycpROJRZ8+8FYpkkkGmCwCUt8F
unfSVBCVRBllBdsj7rxkhoXytWqLRUNV4BLEWplnPdXhvup2nfdjZSDQPLS+Boj3
wyCep1CwSfjFMFlkIfeC+jEgkl1s7/pf6FmQNDrtslS9Vi6iQNGX9+V6aB4ALFcL
gDIHRmSlGimG4HTTI/zL7tpGH+SGpke9vBVRSIvoNR2zNVsXw1gjJ6tbNo6ttNbo
N/Mrt+fhVAZG0gVrZLjLCNX3qEiwRE7/r8i07d6rh6aC/KI9L55iIotryDz9b1fP
TO/t9K3RJ+Z+Otjrgasbb2QEaQGfwTyxWgl/44a0hzgaNOPHWjtFHmd6DjAoi+pX
rZ/Gg+riPX4N6wKeB4wPPh5ovFnoUxUpSj1SfnQdBpUGvoLZO6OcCdeJ2QKEGBkC
sERyEjFg12HK+Ww3X9MMD//ZXbP1JyVJuUmlzvh5rT1wjd8nT94ET3kZZrcey7Ww
MRbWhxdWzvM=
=7PEk
-----END PGP SIGNATURE-----