Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

                  ESB-2005.0446 -- IBM SECURITY ADVISORY
    A local user may gain root privileges through the perl interpreter.
                               14 June 2005


        AusCERT Security Bulletin Summary

Product:           perl
Publisher:         IBM
Operating System:  AIX 5.3
                   AIX 5.2
Impact:            Root Compromise
                   Execute Arbitrary Code/Commands
Access:            Existing Account
CVE Names:         CAN-2005-0156 CAN-2005-0155

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

Hash: SHA1


First Issued: Mon Feb 14 13:26:10 CST 2005

|Updated : Fri Feb 25 09:57:19 CST 2005
| New AIX 5.2 efix package eliminates issue with multi-processor machines.
| Added APAR information 
|Updated : Fri Jun 10 15:19:40 CDT 2005
|  Remove interim fix and workaround information

                           VULNERABILITY SUMMARY

VULNERABILITY:      A local user may gain root privileges through the
                    perl interpreter.

PLATFORMS:          AIX 5.2, AIX 5.3

|SOLUTION:           Apply APARs as described below.

THREAT:             A local user may gain root access to a system.

CERT VU Number:     None.
CVE Number:         CAN-2005-0155, CAN-2005-0156
                           DETAILED INFORMATION

I.  Description

Two vulnerabilities were discovered in the perl language interpreter that
may allow a local user to gain root privileges. The perl interpreter is
installed by default in AIX 5.2 and AIX 5.3. Versions of AIX prior to 5.2
do not have perl installed by default and are not vulnerable. Also, these
vulnerabilities occur only in perl with versions 5.8.0 through 5.8.6.

The first vulnerability is through the sperl program which runs perl as an
suid root process. This perl facility is not installed by default on AIX,
but the same vulnerability may exist if perl is invoked by another suid
root program.

The second vulnerability is in the perl interpreter itself and is a buffer
overflow. This is only specific to perl built with threads support, which
is supported in the AIX perl package.

The perl language ships in the perl.rte filesets. To determine if this
fileset is installed, execute the following command:

# lslpp -L perl.rte

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

II. Impact
A local attacker may gain root access to a system.

III.  Solutions

A. Official Fix

|IBM will provide the following fixes:
|APAR number for AIX 5.2.0: IY68464  (currently available)
|APAR number for AIX 5.3.0: IY68463  (currently available)
|NOTE: Affected customers are urged to upgrade to 5.2.0 or
|5.3.0 at the latest maintenance level.

| Updated: Fri Jun 10 15:19:40 CDT 2005
| Removed interim fix and workaround information.

IV. Obtaining Fixes
AIX Version 5 APARs can be downloaded from:


Security related Emergency Fixes can be downloaded from:


V. Acknowledgments

The perl vulnerabilities were discovered by Kevin Kinisterre.

This issue was brought to our attention by Campo Weijerman of
IBM Netherlands.

This document was written by Kent Stuiber.

VI.  Contact Information

If you would like to receive AIX Security Advisories via email, please

Comments regarding the content of this announcement can be directed to:


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.

Version: GnuPG v1.2.6 (AIX)


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


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:


Australian Computer Emergency Response Team
The University of Queensland
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.

Comment: http://www.auscert.org.au/render.html?it=1967