PuTTY "sftp_pkt_getstring" function buffer overflow
| putty-sftppktgetstring-bo (19403) |
Description:
PuTTY is vulnerable to an integer buffer overflow in the 'sftp_pkt_getstring' function in the 'sftp.c'. By sending a specially-crafted sftp string, a remote attacker could overflow a buffer and execute arbitrary code on the system.
Note: The host key must be verified in order to exploit this vulnerability.
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of PuTTY (0.57 or later), available from the PuTTY Download Web page. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-02-28 for patch, upgrade, or suggested workaround information. See References.
References:
- PuTTY Download Web page: PuTTY Download Page.
- PuTTY vulnerability: PuTTY vulnerability vuln-sftp-string.
- BID-12601: PuTTY/PSFTP/PSCP Multiple Remote Integer Overflow Vulnerabilities
- CVE-2005-0467: Multiple integer overflows in the (1) sftp_pkt_getstring and (2) fxp_readdir_recv functions in the PSFTP and PSCP clients for PuTTY 0.56, and possibly earlier versions, allow remote malicious web sites to execute arbitrary code via SFTP responses that corrupt the heap after insufficient memory has been allocated.
- GLSA-200502-28: PuTTY: Remote code execution
- SA14333: PuTTY Two Integer Overflow Vulnerabilities
- SA17214: IBM TotalStorage SAN Volume Controller PuTTY Vulnerability
Platforms Affected:
- Gentoo Linux
- PuTTY PuTTY prior to 0.57
Reported:
Feb 21, 2005
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
