copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2006.0411 -- [AIX] -- Vulnerability found in update_flash command

Date: 15 June 2006
References: ESB-2006.0377  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                          ESB-2006.0411 -- [AIX]
                Vulnerability found in update_flash command
                               15 June 2006

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

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

Product:              update_flash
Publisher:            IBM
Operating System:     AIX 5.1, 5.2 and 5.3
Impact:               Root Compromise
Access:               Existing Account
CVE Names:            CVE-2006-2647

Ref:                  ESB-2006.0377

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

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

IBM SECURITY ADVISORY


First Issued:  Fri May 26 15:45:51 CDT 2006
|Updated: Wed Jun 14 09:23:20 CDT 2006
|Updated description
|Updated workaround information
|Updated interim fix information
|Updated APAR information

==========================================================================
                           VULNERABILITY SUMMARY

|Updated: Wed Jun 14 09:23:20 CDT 2006
|Updated description
|VULNERABILITY:     A vulnerability in update_flash may allow local
                    users to execute arbitrary code with root
                    privileges.

PLATFORMS:          AIX 5.1, 5.2 and 5.3.

SOLUTION:           Apply the APAR, interim fix or workaround as
                    described below.

THREAT:             A local user may execute arbitrary code as root.

CERT VU Number:     n/a
CVE Number:         n/a
=========================================================================
                           DETAILED INFORMATION


I.  Description
===============

|A vulnerability was discovered in the update_flash command that may allow a
|local attacker to execute arbitrary code as the root user. This
|vulnerability may be exploited by any user via the lsmcode
|command or by any user in the system group by executing update_flash. The
|lsmcode command is used to display microcode and firmware levels of system
|adapters and devices.

lsmcode ships as part of the bos.diag.util fileset.
|update_flash ships as part of the devices.chrp.base.diag fileset.


II. Impact
==========

A local user may execute arbitrary code as the root user.


III.  Solutions
===============

A. Official Fix

IBM provides the following fixes:

|Updated: Wed Jun 14 09:23:20 CDT 2006
|Updated APAR information

      APAR number for AIX 5.1.0:  IY85518 (available approx. 7/19/06)
|     APAR number for AIX 5.2.0:  IY88504 (available approx. 7/28/06)
|     APAR number for AIX 5.3.0:  IY85517 (available approx. 7/28/06)

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

|Updated: Wed Jun 14 09:23:20 CDT 2006
|Updated interim fix information
|B. Interim Fix
|
|Interim fixes are available. The ifixes can be downloaded via ftp from:
|
|    ftp://aix.software.ibm.com/aix/efixes/security/update_flash.tar.Z
|
|update_flash.tar.Z is a compressed tarball containing this advisory,
|interim fix packages and cleartext PGP signatures for each package.
|
|
|Verify you have retrieved the fixes intact:
|+------------------------------------------
|The interim fixes below are named by using the APAR corresponding to the
|release that the fix applies to. The APAR is followed by an underscore and
|the Technology Level for the particular AIX release that a fix applies to.
|
|The checksums below were generated using the "sum" and "md5sum" commands
|and are as follows:
|
|The interim fixes below include prerequisite checking. This will enforce
|the correct mapping between the fixes and AIX Technology Levels.
|
|NOTE: An interim fix for AIX 5.1 will not be provided.
|
|Filename                  sum           md5
|========================================================================
|IY85504_06.060609.epkg.Z  45472 24      09a6d5c2da126f15e02f9155df080240
|IY85504_07.060612.epkg.Z  21382 24      e7092b38e23e8bede6f74803b10ab885
|IY85504_08.060612.epkg.Z  09686 26      bd68aca3d4ad1939d8c7c3f0ba940207
|IY85517_02.060609.epkg.Z  01611 25      6b57c621ad7f195eb75ef8d469380719
|IY85517_03.060613.epkg.Z  32797 25      9e76181890792ccf8533f9b67ddb2adb
|IY85517_04.060612.epkg.Z  17115 26      c4d5bb34a1e460c1874b527fdd8308a5
|
|
|These sums should match exactly. The PGP signatures in the compressed
|tarball and on this advisory can also be used to verify the integrity of
|the various files they correspond to. If the sums or signatures cannot be
|confirmed, double check the command results and the download site address.
|If those are OK, contact IBM AIX Security at security-alert@austin.ibm.com
|and describe the discrepancy.
|
|The following table shows the prerequisite lower and upper fileset levels
|for the fixes above. These levels are inclusive and apply to
|devices.chrp.base.diag.
|
|Filename                    Lower Level     Upper Level
|=========================================================
|IY85504_06.060609.epkg.Z    5.2.0.60        5.2.0.69
|IY85504_07.060612.epkg.Z    5.2.0.75        5.2.0.79
|IY85504_08.060612.epkg.Z    5.2.0.85        5.2.0.85
|IY85517_02.060609.epkg.Z    5.3.0.20        5.3.0.29
|IY85517_03.060613.epkg.Z    5.3.0.30        5.3.0.30
|IY85517_04.060612.epkg.Z    5.3.0.40        5.3.0.40
|
|
|IMPORTANT: If possible, it is recommended that a mksysb backup of the
|system is created. Verify it is both bootable, and readable before
|proceeding.
|
|These interim fixes have not been fully regression tested; thus, IBM does
|not warrant the fully correct functioning of the ifix. Customers install
|the interim fix and operate the modified version of AIX at their own risk.
|
|Interim Installation Instructions:
|+---------------------------------
|
|These packages use the new Interim Fix Management Solution to install and
|manage ifixes. More information can be found at:
|
|     http://www14.software.ibm.com/webapp/set2/sas/f/aix.efixmgmt/home.html
|
|
|To preview an epkg ifix installation execute the following command:
|
|# emgr -e ipkg_name -p       # where ipkg_name is the name of the
|                             # interim fix package being previewed.
|
|To install an epkg ifix package, execute the following command:
|
|# emgr -e ipkg_name -X       # where ipkg_name is the name of the
|                             # interim fix package being installed.
|
|The "X" flag will expand any filesystems if required.


C. Workaround

Remove non-root permissions
+--------------------------
|Updated: Wed Jun 14 09:23:20 CDT 2006
|Updated workaround information

|To prevent non-root users from running the affected commands execute the
|following commands.

# chmod 500 /usr/sbin/lsmcode
| # chmod 500 /usr/lpp/diagnostics/bin/update_flash

These permissions will only allow the root user to run lsmcode.


IV. Obtaining Fixes
===================

AIX Version 5 APARs can be downloaded from:

     http://www.ibm.com/servers/eserver/support/unixservers/aixfixes.html

Security related Interim Fixes can be downloaded from:

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


V.  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 send email to security-alert@austin.ibm.com
with a subject of "get key". The key can also be downloaded from a PGP
Public Key Server. The key id is 0x1B14F299.

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.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEkF0zofN/JhsU8pkRAoFWAJ9CbDhgvstXx4jeEFsh/EiFPMBtYgCfZFt1
mNqV2zV1twSsX2zksXlFPS0=
=wuVQ
- -----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

iQCVAwUBRJDAFyh9+71yA2DNAQK54wP/eW6RZg1GjikGt6+x0A1jY/E7GEAw7rrw
/pXy/KcKNuLLpAQbywysGSTe2eQnSMspZEkzi0jwpO2f2HjKwBUpBdrhQrO2cZjj
5tnn1veZ2Co2Fnm0WokyrsUiyCD7IVWGHUbmHA5F83Bbdro3XzObJtP2k8GD6Tpp
uDkNedK6eLQ=
=2dFk
-----END PGP SIGNATURE-----