IBM AIX ftp gets() buffer overflow
| aix-ftp-bo (35627) |
Description:
IBM AIX is vulnerable to multiple stack-based buffer overflows in the ftp client, caused by improper bounds checking by the gets() function. By sending multiple calls to the gets() function, 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:
Apply the interim fix for this vulnerability (ftpgets_ifix.tar.Z), available from the IBM AIX FTP site. See References.
Consequences:
Gain Privileges
References:
- IBM AIX FTP site, Index of /aix/efixes/security at http://aix.software.ibm.com/aix/efixes/security/.
- IBM SECURITY ADVISORY Tue Jul 24 10:03:54 CDT 2007, AIX ftp gets() Buffer Overflow Vulnerabilities at http://www14.software.ibm.com/webapp/set2/subscriptions/ijhifoeblist?mode=7&heading=AIX53&path=%2F200707%2FSECURITY%2F20070726%2Fdatafile095634&label=AIX+ftp+gets%28%29+Buffer+Overflow+Vulnerabilities.
- iDefense Labs PUBLIC ADVISORY: 07.26.07, IBM AIX ftp gets() Multiple Buffer Overflow Vulnerabilities at http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=571.
- BID-25077: IBM AIX FTP Client Local Buffer Overflow Vulnerability
- CVE-2007-4004: Buffer overflow in the ftp client in IBM AIX 5.3 SP6 and 5.2.0 allows local users to execute arbitrary code via unspecified vectors that trigger the overflow in a gets function call. NOTE: the client is setuid root on AIX, so this issue crosses privilege boundaries.
- SA26219: IBM AIX Multiple Privilege Escalation Vulnerabilities
- SECTRACK ID: 1018465: IBM AIX Buffer Overflow in ftp Command Lets Local Users Gain Elevated Privileges
- VUPEN/ADV-2007-2675: IBM AIX ftp Utility gets() Function Multiple Local Buffer Overflow Vulnerabilities
Reported:
Jul 26, 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 (IBM 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.
For corrections or additions please email xforce@iss.net
