Skip Navigation

  • Home
  • Contact us
  • FAQ
  • Glossary
  • Public key
  • Sitemap
  • Cymraeg
  • What's new
CPNI - Centre for the Protection of National Infastructure

Advanced search

  • About CPNI
  • The threats
  • Security planning
  • Methods of attack
  • Protecting your assets
  • Products and services
    • CSIRTUK advisories
      • Advisories archive
    • General protective security publications
    • InfoSec briefings
    • InfoSec technical notes
    • InfoSec vulnerability disclosures
    • Good practice guidelines
    • Viewpoints
    • Information exchanges
    • Risk Management Delivery Group
  • Research
Home > Products and services > CSIRTUK advisories > Advisories archive > December 2007 > 3522 - AIX Perl buffer overflow vulnerability

December 2007

3522 - AIX Perl buffer overflow vulnerability

ID: 3522
Date: 19/12/2007

Title: 3522 - AIX Perl buffer overflow vulnerability
Platform level affected:Operating System
Specific operating systems components affected: Unix
Other software: Run-time Environment
Remediation Summary:Update your copy of the software with the download available from the supplier.
Vendors affected:IBM
Applications affected:perl
Adversity source: Unknown
Attack Vector: Vulnerability exploitation
Virulence: Unknown
Warning Status: Unknown
Potential Damage: Remote execution/modification
Possible Duration: Unknown
Availability of fix: Available
Type of fix: Patch
Source: IBM
Reliability of source: Trusted
Source URL: http://www.ibm.com/servers/eserver/support/unixservers/aixfixes.html
Abstract: Description of a buffer overflow vulnerability that exists in the IBM AIX 'perl.rte' fileset.

AIX 5.3 : Security advisories (2007.12.18)

AIX Perl buffer overflow vulnerability

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

IBM SECURITY ADVISORY

First Issued: Tue Dec 18 11:33:00 CST 2007 ===============================================================================
                           VULNERABILITY SUMMARY

VULNERABILITY:   AIX Perl buffer overflow vulnerability

PLATFORMS:       AIX 5.2, 5.3, 6.1

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

THREAT:          A remote attacker may run arbitrary code.

CERT VU Number:  n/a
CVE Number:      CVE-2007-5116
===============================================================================
                           DETAILED INFORMATION

I. OVERVIEW

    Perl is a free software scripting language interpreter providing a
    rich set of features provided as part of the base AIX Operating
    System environment.

II. DESCRIPTION

    A buffer overflow vulnerability exists in the 'perl.rte' fileset.
    A remote attacker may execute arbitrary code if a Perl script
    executing on the system is listening on a network port. If
    exploited the attacker can execute arbitrary code with the same
    privileges as the script.

    For more details please visit:

        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5116

III. IMPACT

    The successful exploitation of this vulnerability allows a remote
    attacker to execute arbitrary code.

IV. PLATFORM VULNERABILITY ASSESSMENT

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

    # lslpp -l perl.rte

    The following fileset levels are vulnerable:

    AIX Fileset        AIX Level       Lower Level       Upper Level
    ----------------------------------------------------------------
    perl.rte           5.2.0           5.8.0.0           5.8.0.106
    perl.rte           5.3.0           5.8.2.0           5.8.2.70
    perl.rte           6.1.0           5.8.2.70          5.8.2.70

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

V. SOLUTIONS

    A. APARS

        IBM provides the following fixes:

        AIX Level           APAR number        Availability
        ---------------------------------------------------
        5.2                 IZ10220            05/14/2008
        5.3 through TL06    IZ10244            02/06/2008
        5.3 TL07            IZ10244            02/06/2008
        6.1                 IZ10244            02/20/2008

        Subscribe to the APARs here:

        http://www.ibm.com/support/docview.wss?uid=isg1IZ10220
        http://www.ibm.com/support/docview.wss?uid=isg1IZ10244

        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.

        AIX Version 5 APARs can be downloaded from:

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

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

    B. INTERIM FIXES

        Interim fixes are available.  The interim fix can be
        downloaded via ftp from:

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

        The link above is to a tar file containing this signed
        advisory, interim fix packages, and PGP signatures for each
        package.  The interim fixes below include prerequisite
        checking. This will enforce the correct mapping between the
        fixes and AIX Technology Levels.

        AIX Fileset         AIX Release and      Interim fix
                            Technology Level
        -----------------------------------------------------------------
        perl.rte            5200-08              IZ10220.071206.epkg.Z
        perl.rte            5200-09              IZ10220.071206.epkg.Z
        perl.rte            5200-10              IZ10220.071206.epkg.Z

        perl.rte            5300-05              IZ10244.071206.epkg.Z
        perl.rte            5300-06              IZ10244.071206.epkg.Z
        perl.rte            5300-07              IZ10244.071206.epkg.Z

        perl.rte            6100-00 (same as 53) IZ10244.071206.epkg.Z

        IMPORTANT: If possible, it is recommended that a mksysb backup
        of the system be 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 functionality of
        the interim fix.
       
        Verify you have retrieved the fixes intact:

        The checksums below were generated using the "sum", "cksum",
        "csum -h MD5" (md5sum), and "csum -h SHA1" (sha1sum) commands
        and are as follows:

        sum         filename
        ------------------------------------
        21674  5683 IZ10220.071206.epkg.Z
        43658  5880 IZ10244.071206.epkg.Z

        cksum             filename
        ------------------------------------------
        3383682558 5819246 IZ10220.071206.epkg.Z
        4001149063 6020447 IZ10244.071206.epkg.Z

        csum -h MD5 (md5sum)              filename
        ----------------------------------------------------------
        208b132ee3ff67d7ac4641e1ef9b5c6b  IZ10220.071206.epkg.Z
        42e6ae761b9ec36ad653a3fa294fd184  IZ10244.071206.epkg.Z

        csum -h SHA1 (sha1sum)                    filename
        ------------------------------------------------------------------
        aea47a5acc29ad3b5eee23de3cee47d53706e79a  IZ10220.071206.epkg.Z
        21db9fa9b433a2fc62d7897dab2c1a62e55a6a9e  IZ10244.071206.epkg.Z

        To verify the sums, use the text of this advisory as input to
        csum, md5sum, or sha1sum. For example:

        csum -h SHA1 -i Advisory.asc
        md5sum -c Advisory.asc
        sha1sum -c Advisory.asc

        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.

    C. INTERIM FIX INSTALLATION

        These packages use the new Interim Fix Management Solution to
        install and manage interim fixes.  More information can be
        found at:

        http://www14.software.ibm.com/webapp/set2/sas/f/aix.efixmgmt/home.html

        To preview an epkg interim fix 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 interim fix 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.

VI. WORKAROUNDS

    If you are running perl network services there are no known
    workarounds.  If the perl services are not needed and are running,
    shut them down.

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

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

            0xA6A36CCC

    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.

IX. ACKNOWLEDGMENTS

    Tavis Ormandy and Will Drewry are credited with the discovery of
    this issue.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (AIX)

iD8DBQFHaARm8lficKajbMwRAmpuAKCgEZ1wOGh2CQlqUPCxpKrY1UCK1ACglKmF
nrIkJ3syrSdEkzDIpffrFS4=
=EtL7
-----END PGP SIGNATURE-----

 

---------------------------------------------------------------------

  Related URLs:

  Find end of support dates for AIX and software running on AIX
  http://www.ibm.com/services/sl/products

  Visit Unix Servers Support for a wide array of technical resources.
  http://www.ibm.com/servers/eserver/support/unixservers

  Download fixes for AIX V5 and 4.3 OS, Java, Compilers:
  http://www-912.ibm.com/eserver/support/fixes/
 

This advisory contains information released by the original author. Some of the information may have changed since it was released. If the issue affects you, it may be prudent to retrieve the advisory from the site of the original source to ensure that you receive the most current information concerning that problem. Reference to any specific commercial product, process, or service by trade name, trademark manufacturer, or otherwise, does not constitute or imply its endorsement, recommendation, or favouring by CPNI.

The views and opinions of authors expressed within this notice shall not be used for advertising or product endorsement purposes. CPNI shall not accept responsibility for any errors or omissions contained within this advisory. In particular, they shall not be liable for any loss or damage whatsoever, arising from or in connection with the usage of information contained within this advisory.

CSIRTUK is a member of the Forum of Incident Response and Security Teams (FIRST) and has contacts with other international Incident Response Teams (IRTs) in order to foster cooperation and coordination in incident prevention, to prompt rapid reaction to incidents, and to promote information sharing amongst its members and the community at large.

Wed, 19 Dec 2007 14:10:00 GMT
Domain affected: Technical
  • Accessibility |
  • Terms and conditions |
  • Privacy statement |
  • Data protection act |
  • Freedom of information |