IBM AIX ftp domacro() buffer overflow
| aix-ftp-domacro-bo (38162) |
Description:
IBM AIX is vulnerable to a buffer overflow, caused by improper bounds checking by the domacro() function in the ftp client. By sending a specially-crafted command-line argument, 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 IZ05487, available from the IBM Quick Links Web site. See References.
For AIX 5.3.0:
Apply APAR IZ05488, available from the IBM Quick Links Web site. See References.
--OR--
Apply the interim fix for this vulnerability (ftp_ifix.tar.Z), available from the IBM AIX FTP site. See References.
Consequences:
Gain Privileges
References:
- IBM AIX FTP site, Index of ftp://aix.software.ibm.com/aix/efixes/security/ at ftp://aix.software.ibm.com/aix/efixes/security/.
- IBM Quick Links Web site, Quick links for AIX fixes at http://www.ibm.com/servers/eserver/support/unixservers/aixfixes.html.
- IBM SECURITY ADVISORY: Wed Oct 24 11:34:55 CDT 2007, AIX ftp buffer overflow vulnerability at http://www14.software.ibm.com/webapp/set2/subscriptions/ijhifoeblist?mode=7&heading=AIX53&path=%2F200709%2FSECURITY%2F20070905%2Fdatafile101815&label=AIX+uucp+UNIX-to-UNIX+Copy+Buffer+Overflow+Vulnerability.
- iDefense PUBLIC ADVISORY: 10.30.07, IBM AIX ftp domacro Parameter Buffer Overflow Vulnerability at http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=616.
- BID-26260: IBM AIX ftp Local Privilege Escalation Vulnerability
- CVE-2007-4217: Stack-based buffer overflow in the domacro function in ftp in IBM AIX 5.2 and 5.3 allows local users to gain privileges via a long parameter to a macro, as demonstrated by executing a macro via the '$' command.
- 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
