PuTTY SSH2_MSG_DEBUG buffer overflow
| putty-ssh2msgdebug-bo (17886) |
Description:
PuTTY is vulnerable to a buffer overflow, caused by improper bounds checking of the user-supplied stringlen parameter. By sending a specially-crafted SSH2_MSG_DEBUG packet, a remote attacker could overflow the buffer and execute arbitrary code on the system with user privileges.
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of PuTTY (0.56 or later), available from the PuTTY Download Web Page. See References.
For TortoiseCVS:
Upgrade to the latest version of TortoiseCVS (1.8.3 or later), available from the TortoiseCVS Download Web page. See References.
For Gentoo Linux:
Upgrade to the latest version of putty (0.56 or later), as listed in GLSA 200410-29. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- BugTraq Mailing List, Tue Oct 26 2004 - 22:02:22 CDT: PuTTY SSH client vulnerability.
- iDEFENSE Security Advisory 10.27.04: PuTTY SSH2_MSG_DEBUG Buffer Overflow Vulnerability.
- PuTTY Download Web Page: PuTTY Download Page.
- TortoiseCVS Download Web page: TortoiseCVS - Download.
- BID-11549: PuTTY Remote SSH2_MSG_DEBUG Buffer Overflow Vulnerability
- CVE-2004-1008: Integer signedness error in the ssh2_rdpkt function in PuTTY before 0.56 allows remote attackers to execute arbitrary code via a SSH2_MSG_DEBUG packet with a modified stringlen parameter, which leads to a buffer overflow.
- GLSA-200410-29: PuTTY: Pre-authentication buffer overflow
- SA12987: PuTTY "SSH2_MSG_DEBUG" Packet Handling Buffer Overflow Vulnerability
- SA13012: TortoiseCVS "SSH2_MSG_DEBUG" Packet Handling Buffer Overflow
- SA17214: IBM TotalStorage SAN Volume Controller PuTTY Vulnerability
Platforms Affected:
- Gentoo Linux
- PuTTY PuTTY 0.55
- PuTTY PuTTY IPv6
- TortoiseCVS TortoiseCVS prior to 1.8.3
Reported:
Oct 27, 2004
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
