IBM AIX lqueryvg utility sprintf function buffer overflow
| aix-lqueryvg-sprintf-bo (38165) |
Description:
The IBM AIX lqueryvg utility is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the sprintf function. By sending an overly long parameter using the -p command line option, a local attacker could overflow a buffer and execute arbitrary code on the system with root privileges.
Platforms Affected:
- IBM, AIX 5.2
- IBM, AIX 5.3
Remedy:
For AIX 5.2.0:
Apply APAR IZ05349, available from the IBM Quick Links Web site. See References.
For AIX 5.3.0:
Apply APAR IZ05129, available from the IBM Quick Links Web site. See References.
--OR--
Apply the interim fix for this vulnerability (lqueryvg_ifix.tar), available from the IBM AIX FTP site. See References.
Consequences:
Gain Privileges
References:
- IBM AIX FTP site, IBM AIX at ftp://aix.software.ibm.com/aix/efixes/security/.
- IBM APAR IZ05129 , POTENTIAL SECURITY ISSUE at http://www.ibm.com/support/docview.wss?uid=isg1IZ05129.
- IBM APAR IZ05349 , POTENTIAL SECURITY ISSUE at http://www.ibm.com/support/docview.wss?uid=isg1IZ05349.
- IBM SECURITY ADVISORY, AIX lqueryvg buffer overflow vulnerability at http://www14.software.ibm.com/webapp/set2/subscriptions/ijhifoeblist?mode=7&heading=AIX53&path=%2F200710%2FSECURITY%2F20071030%2Fdatafile105218&label=AIX+lqueryvg+buffer+overflow+vulnerability.
- iDefense PUBLIC ADVISORY: 10.30.07, IBM AIX lqueryvg Stack Buffer Overflow Vulnerability at http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=614.
- BID-26256: IBM AIX lqueryvg Local Privilege Escalation Vulnerability
- BID-26259: IBM AIX lquerypv Local Privilege Escalation Vulnerability
- CVE-2007-4513: Multiple stack-based buffer overflows in IBM AIX 5.2 and 5.3 allow local users to gain privileges via a long argument to the (1) -p option to lqueryvg or (2) the -V option to lquerypv.
- FrSIRT/ADV-2007-3669: IBM AIX Utilities Arguments Handling Privilege Escalation Vulnerabilities
- SA27437: IBM AIX Multiple Privilege Escalation Vulnerabilities
- SECTRACK ID: 1018871: IBM AIX Various Application Buffer Overflows Let Local Users Gain Root Privileges
Reported:
Oct 30, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
