__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN AIX "lsvpd" Untrusted Path Vulnerability [MSS-OAR-E01-2004:2063.1] December 21, 2004 20:00 GMT Number P-080 ______________________________________________________________________________ PROBLEM: A vulnerability was discovered in the lsvpd command. The lsvpd command is used by Inventory Scout to survey a system for Vital Product Data (VPD). PLATFORM: AIX 5.1, 5.2 and 5.3 DAMAGE: Exploiting this vulnerability may allow any user to execute arbitrary code with root privileges. The lsvpd command is only executable by the root user or users in the system group; an unpriviliged user cannot exploit this vulnerability by executing the lsvpd command. However, invscout invokes lsvpd with root privileges. Since invscout has file mode bits 4555, any local user can exploit the vulnerability in lsvpd if invscout is installed. SOLUTION: Apply the available updates or workaround. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. A local user may execute arbitrary code ASSESSMENT: with root privileges. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/p-080.shtml ORIGINAL BULLETIN: http://www-1.ibm.com/services/continuity/recover1.nsf/mss/ MSS-OAR-E01-2004.2063.1 CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2004-1054 ______________________________________________________________________________ [***** Start MSS-OAR-E01-2004:2063.1 *****] IBM SECURITY ADVISORY First Issued: Mon Dec 20 10:44:36 CST 2004 =========================================================================== VULNERABILITY SUMMARY VULNERABILITY: An untrusted path vulnerability in lsvpd allows local users to execute arbitrary code if invoked via invscout. PLATFORMS: AIX 5.1, 5.2 and 5.3. SOLUTION: Apply the workaround or APARs as described below. THREAT: A local user can execute arbitrary code with root privileges. CERT VU Number: N/A CVE Number: CAN-2004-1054 =========================================================================== DETAILED INFORMATION I. Description =============== A vulnerability was discovered in the lsvpd command that may allow any user to execute arbitrary code with root privileges. The lsvpd command is used by Inventory Scout to survey a system for Vital Product Data (VPD). The command affected by this issue ships as part of the bos.rte.methods fileset. To determine if this fileset is installed, execute the following command: # lslpp -L bos.rte.methods If the fileset is installed it will be listed along with its version information, state, type and a description. II. Impact ========== The lsvpd command is only executable by the root user or users in the system group; an unpriviliged user cannot exploit this vulnerability by executing the lsvpd command. However, invscout invokes lsvpd with root privileges. Since invscout has file mode bits 4555, any local user can exploit the vulnerability in lsvpd if invscout is installed. To determine if Inventory Scout is installed, execute the following command: # lslpp -L invscout.rte If the fileset is installed it will be listed along with its version information, state, type and a description. III. Solutions =============== A. Official Fix IBM provides the following fixes: APAR number for AIX 5.1.0: IY64852 (available) APAR number for AIX 5.2.0: IY64976 (available) APAR number for AIX 5.3.0: IY64820 (available) NOTE: Affected customers are urged to upgrade to 5.1.0, 5.2.0 or 5.3.0 at the latest maintenance level. B. Workaround Setting the file mode bits to 500 will allow only the root user to execute the invscout command. This can be done by executing the following command as root: # chmod 500 /usr/sbin/invscout Verify that the file mode bits have been changed to 500: # ls -la /usr/sbin/invscout - - -r-x------ 1 root system 141036 2002-08-29 13:16 /usr/sbin/invscout IV. Obtaining Fixes =================== AIX Version 5 APARs can be downloaded from the eServer pSeries Fix Central web site: http://www-912.ibm.com/eserver/support/fixes/fcgui.jsp Security related Emergency Fixes can be downloaded from: ftp://aix.software.ibm.com/aix/efixes/security V. Acknowledgments ==================== This vulnerability was reported by iDEFENSE. VI. Contact Information ======================== If you would like to receive AIX Security Advisories via email, please visit: https://techsupport.services.ibm.com/server/pseries.subscriptionSvcs 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 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. [***** End MSS-OAR-E01-2004:2063.1 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of IBM Global Services MSS for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) P-070: Updated Samba Packages P-071: Updated "gd" Packages P-072: Updated ZIP Packages P-073: Updated "libxml" Packages for Versions Prior to 2.6.14 P-074: “newgrp(1)” Local Privilege Escalation p-075: "libkadm5srv" Heap Buffer Overflow P-076: "nfs-utils" Package Vulnerabilities P-077: "paginit" Command Vulnerability P-078: Diag script Vulnerability P-079: "chcod" Command Vulnerability