=====================================================================
                                  CERT-Renater

                       Note d'Information No. 2005/VULN368
_____________________________________________________________________

DATE                      : 10/06/2005

HARDWARE PLATFORM(S)      : IBM.

OPERATING SYSTEM(S)       : AIX 5.1, 5.2 and 5.3.

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

IBM SECURITY ADVISORY

First Issued: Thu Jun  9 13:31:06 CDT 2005

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

SOLUTION:           Apply the workaround as described below.

THREAT:             A local 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
===============

A. APARs and interim fixes

APARs and interim fixes will be provided. An updated advisory will be
published when these fixes are available.


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

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

         =========================================================
         Les serveurs de référence du CERT-Renater
         http://www.urec.fr/securite
         http://www.cru.fr/securite
         http://www.renater.fr
         =========================================================
         + CERT-RENATER          | tel : 01-53-94-20-44          +
         + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
         + 75013 Paris           | email: certsvp@renater.fr     +
         =========================================================


