Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2006.0591 -- [AIX] A vulnerability in the setlocale() routine may allow for privilege escalation 18 August 2006 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: bos.rte.libc bos.adt.prof Publisher: IBM Operating System: AIX 5.3 and prior Impact: Root Compromise Access: Existing Account - --------------------------BEGIN INCLUDED TEXT-------------------- - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 IBM SECURITY ADVISORY First Issued: Thu Aug 17 09:21:47 CDT 2006 ========================================================================== VULNERABILITY SUMMARY VULNERABILITY: A vulnerability in the setlocale() routine may allow for privilege escalation. PLATFORMS: AIX 5.1, 5.2 and 5.3. SOLUTION: Apply the APAR, interim fix or workaround as described below. THREAT: A local attacker may gain privileges. CERT VU Number: n/a CVE Number: n/a ========================================================================= DETAILED INFORMATION I. Description =============== A security vulnerability was discovered in the setlocale() subroutine. setlocale() changes or queries a program's entire current locale or portions thereof. Applications that call setlocale() and that are installed with the setuid and setgid bit on may be exploited to gain privileges. setlocale() is exported via libc.a. libc.a is shipped as part of the bos.rte.libc and bos.adt.prof filesets. Affected versions of these filesets are listed below. II. Impact ========== A local user may gain privileges. III. Solutions =============== A. Official Fix IBM provides the following fixes: APAR number for AIX 5.1.0: IY88528 (available approx. 09/06/06) APAR number for AIX 5.2.0: IY88512 (available approx. 09/06/06) APAR number for AIX 5.3.0: IY88183 (available approx. 09/06/06) NOTE: Affected customers are urged to upgrade to the latest applicable Technology Level. The following table shows the vulnerable versions of bos.rte.libc and bos.adt.prof for a given Technology Level. Technology Lower Upper Level Level Level =========================================== 5100-06 5.1.0.69 5.1.0.69 5100-07 5.1.0.70 5.1.0.71 5200-06 5.2.0.61 5.2.0.63 5200-07 5.2.0.75 5.2.0.78 5200-08 5.2.0.85 5.2.0.86 5200-09 5.2.0.95 5.2.0.95 5300-03 5.3.0.30 5.3.0.32 5300-04 5.3.0.40 5.3.0.44 5300-05 5.3.0.50 5.3.0.50 B. Interim Fix Interim fixes are available. The ifixes can be downloaded via ftp from: ftp://aix.software.ibm.com/aix/efixes/security/setlocale_ifix.tar.Z This is a compressed tarball containing this advisory, interim fix packages and cleartext PGP signatures for each package. 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: The interim fixes below include prerequisite checking. This will enforce the correct mapping between the fixes and AIX Technology Levels. The interim fixes replace libc.a which ships as part of bos.rte.libc. When installing these fixes, it will be necessary to remove other interim fixes which modify libc.a. Filename sum md5 =================================================================== 5100-07.epkg.Z 00494 3030 a478fdcb09e7785eb6b1f541ad851bc9 5200-07.epkg.Z 56976 3155 2783a81b10c27fbbeed2e3a3adf1deb6 5200-08.epkg.Z 33794 3157 2d96dac2d94acf844b14f71f0148e4d4 5200-09.epkg.Z 00911 3175 7922cac96d0e3d5c7d3da37c842e3681 5300-03.epkg.Z 44064 3525 d347fbae1bfc93c8cc9c9e3c88c5702b 5300-04.epkg.Z 17307 3523 ade47e865f3426a2a0746a3ba2fd81ef 5300-05.epkg.Z 59371 3561 b411b92b6c36df6d163003018cda35fa 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. The following table shows the prerequisite fileset level for the fixes above. These levels correspond to the latest available versions of bos.rte.libc for a given technology level. Filename Fileset Level =========================== 5100-07.epkg.Z 5.1.0.71 5200-07.epkg.Z 5.2.0.78 5200-08.epkg.Z 5.2.0.86 5200-09.epkg.Z 5.2.0.95 5300-03.epkg.Z 5.3.0.32 5300-04.epkg.Z 5.3.0.44 5300-05.epkg.Z 5.3.0.50 IMPORTANT: If possible, it is recommended that a mksysb backup of the system is 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 functioning of the interim fix. Customers install the interim fix and operate the modified version of AIX at their own risk. Interim Installation Instructions: +--------------------------------- These packages use the new Interim Fix Management Solution to install and manage ifixes. More information can be found at: http://www14.software.ibm.com/webapp/set2/sas/f/aix.efixmgmt/home.html To preview an epkg ifix installation execute the following command: # emgr -e ipkg_name -p # where ipkg_name is the name of the # ifix package being previewed. To install an epkg ifix package, execute the following command: # emgr -e ipkg_name -X # where ipkg_name is the name of the # ifix package being installed. The "X" flag will expand any filesystems if required. C. Workaround Remove the setuid and setgid bits from applications that call setlocale(). To determine if an application calls setlocale() use the following command: dump -T <application> | grep setlocale IV. 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 V. 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 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 0x1B14F299. 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. - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFE5LXDofN/JhsU8pkRAvXoAJ9L8xvy9SODTt5cc+KeeFTLizBXNACeKpIA jXUSUPixstV3gpa6lIVz12s= =+ao0 - -----END PGP SIGNATURE----- - --------------------------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: http://www.auscert.org.au/render.html?cid=1980 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: http://www.auscert.org.au/render.html?it=3192 =========================================================================== Australian Computer Emergency Response Team The University of Queensland Brisbane 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. =========================================================================== -----BEGIN PGP SIGNATURE----- Comment: http://www.auscert.org.au/render.html?it=1967 iQCVAwUBROURByh9+71yA2DNAQJUYAP7BUtYteTxzz4EGeOl+IpDYAZ8vhVQjwJg BeLe7ntFfXId9QOndiE/WfY9V/ask9AEfaP/BokUp+JNHc3/B8Ec9IWwqozg944y pb2FWsE9HW9NRA0Kj+wnA1x3ropHTp2XQqZL9T9cW3nsmCi88/C45l9pA+R4e30o YntLfnfVyu8= =o26I -----END PGP SIGNATURE-----