exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

aix.libim.txt

aix.libim.txt
Posted Feb 19, 2003
Site techsupport.services.ibm.com

IBM Security Advisory - IBM AIX v4.3, 5.1, and 5.2 has a local root vulnerability in setuid applications linked with libIM.a. Fix available here.

tags | advisory, local, root
systems | aix
advisories | CVE-2003-0087
SHA-256 | 8d53c13846ee5f97fc58ab0627a476ae048a8340d08ce8b33f3c38ffdbe77412

aix.libim.txt

Change Mirror Download




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

IBM SECURITY ADVISORY

First Issued: Wed Feb 12 11:00:00 CST 2003

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

VULNERABILITY: libIM.a buffer overflow vulnerability.

PLATFORMS: AIX 4.3, 5.1 and 5.2

SOLUTION: Apply the efix or APARs as described below.

THREAT: A local attacker can exploit a buffer overflow
vulnerability to execute arbitrary code.

CERT VU Number: n/a

CAN Number: CAN-2003-0087
===========================================================================
DETAILED INFORMATION


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

AIX provides support for National Language Support (NLS). Many AIX
applications support a variety of languages. Users may determine
which language an application uses via command line arguments or,
as is more often the case, via environment variables.

A buffer overflow vulnerability has been found in a system library
used by NLS, libIM, that allows a local attacker to execute arbitrary code
with the privileges of the application that calls the library.


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

A local attacker can execute arbitrary code with the privileges of the
application using libIM. If the application is setuid root, an attacker will
be able to execute arbitrary code with root privileges.


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

A. Official Fix
IBM provides the following fixes:

APAR number for AIX 4.3.3: IY40307 (available approx. 03/12/2003)
APAR number for AIX 5.1.0: IY40317 (available approx. 04/28/2003)
APAR number for AIX 5.2.0: IY40320 (available approx. 04/28/2003)

NOTE: Fixes will not be provided for versions prior to 4.3 as
these are no longer supported by IBM. Affected customers are
urged to upgrade to 4.3.3 or 5.1.0 at the latest maintenance level.

B. E-fix
Temporary fixes for AIX 4.3.3, 5.1.0, and 5.2.0 systems are available.

The temporary fixes can be downloaded via ftp from:

ftp://aix.software.ibm.com/aix/efixes/security/libIM_efix.tar.Z

The efix compressed tarball contains three fixes: one each for
AIX 4.3.3, AIX 5.1.0 and AIX 5.2.0. It also includes this advisory
and a README file with installation instructions.

Verify you have retrieved this efix intact:
- ---------------------------------------------

There are 3 fix-files in this package for the 4.3.3, 5.1.0, 5.2.0
releases. The checksums below were generated using the "sum" and
"md5" commands and are as follows:

Filename sum md5
=================================================================
libIM.a.433 22101 67 16f015c19f72671859eb88823d3640f5
libIM.a.510 41339 66 79c64e9e73de01cc0b4b0220fa8eb557
libIM.a.520 18991 65 e0ca1983b358007b5ea277972838b952

These sums should match exactly; if they do not, 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: Create a mksysb backup of the system and verify it is
both bootable, and readable before proceeding.

These temporary fixes have not been fully regression tested; thus,
IBM does not warrant the fully correct functioning of the efix.
Customers install the efix and operate the modified version of AIX
at their own risk.

Efix Installation Instructions:
- -----------------------------------
Detailed installation instructions can be found in the README file
supplied in the efix package. These instructions are summarized below.

You need to have the following filesets installed:

For AIX 4.3.3:
bos.rte.im.4.3.3.76

For AIX 5.1.0:
bos.rte.im.5.1.0.35

For AIX 5.2.0:
bos.rte.im.5.2.0.0

You can determine which fileset is installed by executing
the following:

# lslpp -L bos.rte.im

If bos.rte.im is not installed, the system is not vulnerable.

1. Create a temporary efix directory and move to that directory.
# mkdir /tmp/efix
# cd /tmp/efix

2. Uncompress the efix and un-tar the resulting tarfile. Move to the
fix directory. This step assumes the compressed efix tarball is in
/tmp/efix.
# uncompress libIM_efix.tar.Z
# tar xvf libIM_efix.tar
# cd libIM_efix

3. Rename the patched binary files appropriate for your system and set
ownership and permissions.
# mv libIM.a.xxx libIM.a # where xxx is 433, 510 or 520
# chown bin.bin libIM.a
# chmod 444 libIM.a

4. Test the efix. This step is strongly recommended but not required.

a. Export the environment variable LIBPATH to point to the new
copy of libIM.a.
# export LIBPATH=/tmp/efix/libIM_efix

b. Execute aixterm since it uses libIM.
# slibclean
# aixterm

Note: To launch aixterm, the machine being patched must be able
to connect to a X Server so that it can display the aixterm
window.

c. If aixterm did not start, execute the following command
and discontinue installation of this efix:
# unset LIBPATH

This will allow your system to use the original libIM.a.

5. Install the efix.
a. Create a backup copy of original binary. Remove all
permissions from the backup copy.
# cd /usr/ccs/lib/
# cp libIM.a libIM.a.orig
# chmod 0 libIM.a.orig

b. Export the environment variable LIBPATH to point to the new
copy of libIM.a. This is very important because it will allow
your system to locate a copy of libIM.a if needed during the
patch process.
# export LIBPATH=/tmp/efix/libIM_efix

c. Remove the original library.
# rm /usr/ccs/lib/libIM.a

d. Replace the current system library with the patched versions.
Use the -p option to preserve the file permissions set in
step 3.
# cp -p /tmp/efix/libIM_efix/libIM.a /usr/ccs/lib/libIM.a

e. Unset the LIBPATH environment variable.
# unset LIBPATH

6. Remove any copies of the old libIM.a from memory.
# slibclean


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

IBM AIX APARs may be ordered using Electronic Fix Distribution (via the
FixDist program), or from the IBM Support Center. For more information
on FixDist, and to obtain fixes via the Internet, please reference

http://techsupport.services.ibm.com/rs6k/fixes.html

or send email to "aixserv@austin.ibm.com" with the word "FixDist" in the
"Subject:" line.

AIX APARs may also be downloaded from the web from the following URLs.

For 4.3.3 APARs:
http://techsupport.services.ibm.com/rs6k/fixdb.html

For 5.1.0 APARs:
http://techsupport.services.ibm.com/server/aix.fdc

For 5.2.0 APARs:
http://techsupport.services.ibm.com/server/aix.fdc

To facilitate ease of ordering all security related APARs for each AIX
release, security fixes are periodically bundled into a cumulative APAR.
For more information on these cumulative APARs including last update and
list of individual fixes, send email to "aixserv@austin.ibm.com" with
the word "subscribe Security_APARs" in the "Subject:" line.


V. Acknowledgments
==================

The AIX Security Team would like to thank iDEFENSE for bringing this issue
to our attention.

This document was written by Shiva Persaud.


VI. Contact Information
========================

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 encrypt new AIX
security vulnerabilities, send email to security-alert@austin.ibm.com
with a subject of "get key".

If you would like to subscribe to the AIX security newsletter, send a
note to aixserv@austin.ibm.com with a subject of "subscribe Security".
To cancel your subscription, use a subject of "unsubscribe Security".
To see a list of other available subscriptions, use a subject of
"help".

IBM and AIX are a registered trademark of International Business
Machines Corporation. All other trademarks are property of their
respective holders.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (AIX)

iD8DBQE+SXgmcnMXzUg7txIRAhCyAJ9poiDHFskkQEP8n+FGuDMikhuEeACgssas
tpRGotKaejnO3HNI8pdVRH4=
=tjcW
-----END PGP SIGNATURE-----

Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    0 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close