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

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

                  ESB-2005.0504 -- IBM SECURITY ADVISORY
     Buffer overflow vulnerability in getlvname allows root compromise
                                8 July 2005

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

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

Product:           getlvname
Publisher:         IBM
Operating System:  AIX 5.1, 5.2 and 5.3
Impact:            Root Compromise
Access:            Existing Account

Ref:               ESB-2005.0431

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

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

IBM SECURITY ADVISORY

First Issued: Thu Jun  9 13:31:06 CDT 2005
|Updated: Wed Jul  6 08:38:14 CDT 2005
|Added APAR and interim fix information.

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

VULNERABILITY:      A buffer overflow vulnerability in the getlvname
		    command may allow any local user in the system group
                    to gain root privileges.

PLATFORMS:          AIX 5.1, 5.2 and 5.3.

|Updated: Tue Jul  5 10:41:13 CDT 2005
|Added APAR and interim fix information.
|SOLUTION:           Apply the APAR, interim fix or workaround as
|                    described below.

THREAT:             A local users in the system group may gain root
                    privileges.

CERT VU Number:     N/A
CVE Number:         N/A
=========================================================================
                           DETAILED INFORMATION


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

A vulnerability was discovered in the getlvname command that allows a
local user in the system group to gain root privileges. Exploits for this
vulnerability may be publicly available.

The command affected by this issue ships as part of the bos.rte.lvm
fileset. To determine if this fileset is installed, execute the following
command:

# lslpp -L bos.rte.lvm

If the fileset is installed it will be listed along with its version
information, state, type and a description.


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

A local user in the system group may exploit this buffer overflow
vulnerability to gain root privileges.


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

|Updated: Wed Jul  6 08:38:14 CDT 2005
|Added APAR and interim fix information.
|
|A. Official Fix
|
|IBM provides the following fixes:
|
|      APAR number for AIX 5.1.0: IY72713 (available approx. 09/07/05)
|      APAR number for AIX 5.2.0: IY72712 (available approx. 09/05/05)
|      APAR number for AIX 5.3.0: IY72711 (available approx. 09/05/05)
|
|NOTE: Affected customers are urged to upgrade to 5.1.0, 5.2.0 or 5.3.0 at
|the latest maintenance level.
|
|B. Interim Fix
|
|Interim fixes are available for AIX 5.1.0, 5.2.0 and 5.3.0. The ifixes can be
|downloaded via ftp from:
|
|    ftp://aix.software.ibm.com/aix/efixes/security/getlvname_ifix.tar.Z
|
|getlvname_ifix.tar.Z is a compressed tarball containing this advisory,
|three ifix packages cleartext PGP signatures for each ifix package.
|
|
|Verify you have retrieved the fixes intact:
|--------------------------------------------
|The checksums below were generated using the "sum" and "md5sum" commands
|and are as follows:
|
|Filename                sum             md5
|=======================================================================
|IY72713_08.epkg.Z       36193    10     176efdc3bad9abfcec9462385824bc88
|IY72712_04.epkg.Z       03452    10     5ca19bc5e53622f762880ea5a0758130
|IY72712_05.epkg.Z       03452    10     5ca19bc5e53622f762880ea5a0758130
|IY72712_06.epkg.Z       03452    10     5ca19bc5e53622f762880ea5a0758130
|IY72711_01.epkg.Z       61042    10     55be2e253348dacf836d5c7e0788f882
|IY72711_02.epkg.Z       61042    10     55be2e253348dacf836d5c7e0788f882
|
|
|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.
|
|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 ifixes have not been fully regression tested; thus, IBM does not
|warrant the fully correct functioning of the ifix.  Customers install the
|ifix and operate the modified version of AIX at their own risk.
|
|Interim fix Installation Instructions:
|-------------------------------
|These packages use the new Interim Fix Management Solution to install
|and manage ifixes. More information can be found at:
|
|     http://techsupport.services.ibm.com/server/aix.efixmgmt
|
|To preview an epkg ifix installation execute the following command:
|
|# emgr -e ipkg_name -p       # where ipkg_name is the name of the
|                             # ifix 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
|                             # ifix package being installed.
|
|The "X" flag will expand any filesystems if required.


C. Workaround

Setting the file mode bits to 500 will allow only the root user to execute
this command. This can be done by executing the following command as root:

# chmod 500 /usr/sbin/getlvname

Verify that the file mode bits have been updated:

# ls -la /usr/sbin/getlvname
- - - -r-x------   1 root     system   8392 May 16 14:30 /usr/sbin/getlvname


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

AIX Version 5 APARs can be downloaded from:

     http://www-1.ibm.com/servers/eserver/support/pseries/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:

     https://techsupport.services.ibm.com/server/pseries.subscriptionSvcs

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

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.1 (GNU/Linux)

iD8DBQFCy+QHxwSSvpORwfIRAmMTAJ4wSLNs50byZYi8yyEUZC8CK1qG4gCfbWHO
T5mHZZvWiAXT6ieicmwcJEk=
=fgA8
- -----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

iQCVAwUBQs30QCh9+71yA2DNAQKfsAP/V88xgWb0umeWfGcgBQyXAJ5IvtD9nGxU
CbY4uldLQlsW71qSb6XQcTai2sEpyJs0dgl2uy4+Ii+1vuXsBuaH0nWmviW+e3GP
h3qV02ZOigijjuJKoVfvIL5IESscwmebRhwFhnjzWIlEYxZG0HxDE2srkTGZgVL8
6aZYUTcUQQ0=
=sIsi
-----END PGP SIGNATURE-----