PuTTY Authentication Process Buffer Overflow Vulnerabilities
Secunia Advisory: SA12212
Release Date: 2004-08-04
Last Update: 2005-02-15
Popularity: 13,832 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:PuTTY 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2004-1440


Description:
Core Security Technologies has discovered two vulnerabilities in PuTTY, which potentially can be exploited by malicious people to compromise a user's system.

1) A boundary error within the "modpow()" function can be exploited by passing an overly large value as a base for the modular exponentiation. This can e.g. be exploited during the initial SSH2 key exchange to cause a heap-based buffer overflow by sending a specially crafted packet.

Successful exploitation may allow execution of arbitrary code on a user's system but requires that a user has been tricked into connecting to a malicious server or a session can be intercepted in a MitM (Man-in-the-Middle) attack.

2) A boundary error within the "rsaencrypt()" function can e.g. be exploited during SSH1 key exchange to cause a heap-based buffer overflow by sending a specially crafted packet with a very small public key modulus.

Successful exploitation crashes the application but may potentially also allow execution of arbitrary code on a user's system. This requires that a user has been tricked into connecting to a malicious server or a session can be intercepted in a MitM (Man-in-the-Middle) attack.

The vulnerabilities affect version 0.54 and prior.

Solution:
Update to version 0.55.
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Provided and/or discovered by:
Core Security Technologies

Changelog:
2004-08-05: Vendor provided more information.
2005-02-15: Added CVE reference.

Original Advisory:
Vendor:
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-modpow.html
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-ssh1-kex.html

Core Security Technologies:
http://www.coresecurity.com/common/showdoc.php?idx=417&idxseccion=10


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 67 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 45 views
3. Cisco ASA and PIX Security Appliances Multiple Vulnerabilities // 38 views
4. Microsoft Office Two Code Execution Vulnerabilities // 36 views
5. VLC Media Player Multiple Vulnerabilities // 33 views
6. Drupal Content Construction Kit Script Insertion Vulnerabilities // 32 views
7. HP OpenView Select Identity Connectors Information Disclosure // 30 views
8. Opera Multiple Vulnerabilities // 27 views
9. CS-Cart "cs_cookies" SQL Injection Vulnerability // 26 views
10. Netgear WN802T Wireless Access Point Two Vulnerabilities // 24 views