[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IBM] Schwachstelle im IBM AIX lpd Kommando



-----BEGIN PGP SIGNED MESSAGE-----
Hash: MD5

Liebe Kolleginnen und Kollegen,

soeben erreichte uns nachfolgende Warnung des IBM Managed Security
Services. Wir geben diese Informationen unveraendert an Sie weiter.

  Buffer Overflow im IBM AIX lpd Kommando

  Im SetUID lpd Kommando in IBM AIX Version 5.2 und 5.3 kann ein Buffer
  Overflow ausgeloest werden. Ein lokaler Angreifer in der Gruppe printq
  kann diese Schwachstelle ausnutzen, um beliebige Befehle mit
  root-Rechten ausfuehren.

Betroffen sind die folgenden Software Pakete und Plattformen:

  Fileset bos.rte.printers Version 5.2.0.85 - 5.2.0.105 ohne APAR IY98560
  Fileset bos.rte.printers Version 5.3.0.40 - 5.3.0.60 ohne APAR IY98339

  IBM AIX 5.2, 5.3

Vom Hersteller werden ueberarbeitete Pakete zur Verfuegung gestellt.

Hersteller Advisory:
  http://www14.software.ibm.com/webapp/set2/subscriptions/ijhifoeblist?mode=1


(c) der deutschen Zusammenfassung bei DFN-CERT Services GmbH; die
Verbreitung, auch auszugsweise, ist nur unter Hinweis auf den Urheber,
DFN-CERT Services GmbH, und nur zu nicht kommerziellen Zwecken
gestattet.

Mit freundlichen Gruessen,
		Klaus Moeller, DFN-CERT


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

IBM SECURITY ADVISORY

First Issued: Tue Jul 24 18:09:11 CDT 2007
===============================================================================
                           VULNERABILITY SUMMARY

VULNERABILITY:   AIX lpd Buffer Overflow Vulnerability

PLATFORMS:       AIX 5.2, 5.3

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

THREAT:          An attacker may run arbitrary code as root privileges.

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

I. OVERVIEW

    The 'lpd' command offers an interface to the remote print daemon (lpd).

II. DESCRIPTION

    A buffer overflow vulnerability exists in the 'lpd' command which may allow
    members of the printq group execute arbitrary code as root.

III. IMPACT

    A local member of the printq may execute arbitrary code with root
    privileges.

IV. PLATFORM VULNERABILITY ASSESSMENT

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

    # lslpp -l | grep bos.rte.printers

    The following filesets are vulnerable:

    AIX Level           Lower Level       Upper Level
    -------------------------------------------------
    5.2.0               5.2.0.85          5.2.0.105
    5.3.0               5.3.0.40          5.3.0.60

V. SOLUTIONS

    A. APARS

        IBM provides the following fixes:

        AIX Level           APAR number       Availability
        --------------------------------------------------------------------
        5.2.0               IY98560           6/8/2007 (available)
        5.3.0               IY98339           6/8/2007 (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/lpd_ifix.tar.Z

        This is a compressed tarball containing this 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 Release & Technology Level         Interim fix
        ---------------------------------------------------------------
        5200-08                                IY98560_08.070724.epkg.Z
        5200-09                                IY98560_09.070724.epkg.Z
        5200-10                                IY98560_10.070724.epkg.Z
        5300-04                                IY98339_04.070724.epkg.Z
        5300-05                                IY98339_05.070724.epkg.Z
        5300-06                                IY98339_06.070724.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.
        Customers install the interim fix and operate the modified version of
        AIX at their own risk.

        Verify you have retrieved the fixes intact:

        The interim fixes below are named by using the technology level
        corresponding to the release that the fix applies to. The checksums
        below were generated using the "sum" and "md5sum" commands and are as
        follows:

        Filename                   sum        md5sum
        ----------------------------------------------------------------------
        IY98560_08.070724.epkg.Z   12757 77   7e1b951bc46d5294bf4a2001b2250c21
        IY98560_09.070724.epkg.Z   64524 76   cfaa4502159825780678df5de0c084c6
        IY98560_10.070724.epkg.Z   34514 75   edc31f4b258285bc4feea841d66da3d7
        IY98339_04.070724.epkg.Z   01432 77   553ca3a541c28c65b23e99730b37e086
        IY98339_05.070724.epkg.Z   57125 76   dd5742c0d70c556fa3ed15d8a2d9c898
        IY98339_06.070724.epkg.Z   09692 77   39955f5773484160066243087561bd4d

        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@xxxxxxxxxxxxxx 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

    A. OPTION 1

        Customers running AIX 5.3.0 TL06 may install the bos.rte.security
        fileset and take advantage of the 'fpm' command to disable the setuid
        capabilities of 'capture'.  The 'capture' command is disabled in the
        high level database.

        NOTE: This will disable functionality of the command for all users
        except root.

    NOTE: Some workarounds may disable function for some users.

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

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

    To request the PGP public key that can be used to communicate
    securely with the AIX Security Team send email to
    security-alert@xxxxxxxxxxxxxx with a subject of "get key". The key
    can also be downloaded from a PGP Public Key Server. The key id is
    0x4265D862.

    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.

VIII. ACKNOWLEDGMENTS

    This vulnerability was discovered internal to IBM as part of its
    commitment to securing the AIX operating system.

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (AIX)

iD8DBQFGpotz0eNzcEJl2GIRAvJcAJ94csxeK73XXAS2ojn+Do8f9hzcAgCfXK7z
fh5E/U6PfMZBqn/ShbeZNPA=
=9v5C
- -----END PGP SIGNATURE-----

- -- 
Dipl. Inform. Klaus Moeller (CSIRT)
DFN-CERT Services GmbH, https://www.dfn-cert.de, Phone +49 40 808077-555
Sitz / Register: Hamburg, AG Hamburg, HRB 88805, Ust-IdNr.: DE 232129737
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQEVAwUBRqnu8hYd1iQZmhQQAQH9pQgAreqteAB3vB+85ZoIj95jygXpVQMIMPs6
iYszugjlXjI3HV+auWQ+Spm/J2iKiEmxLWPddkCxhnnLtGQm4XSoLHsofD6k9TGz
+5pbSUB/RKQ8gJM/Hp/OFzEFclGggGyaukNmvrwMNzRAP/xQrMZbB13wpf96jArt
8Iga6ucVlxJQ4wmkXlNA0PwrzYirwST9+PyhmLvOtj8jvPnJH3/bhayxhsd0UJ/a
OBj/oe2z2k0yvlTsxzwGCE001qOdT4NQbtTKg8CDYCpsUZpRnpm3Zudy7/2n77wz
guZLCjad/WiSeCS5Wd/wQEBpWyJ6AwZvHLNzLxrguNeua1xxhCIgoA==
=xktX
-----END PGP SIGNATURE-----