LSH Error Checking Heap Overflow Vulnerability
Secunia Advisory: SA9805
Release Date: 2003-09-22
Popularity: 6,827 views

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

Software:LSH 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2003-0826


Description:
A vulnerability has been identified in LSH, which can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to a boundary error in "read_line.c" when checking for errors. This can be exploited to cause a heap overflow by sending an overly long, specially crafted string.

Successful exploitation allows execution of arbitrary code on the vulnerable system and doesn't require user authentication.

An exploit has been published.

NOTE: Reportedly, similar bugs were also identified in the check for channel number allocation and in the experimental client SRP code.

Solution:
Apply patch for 1.4.2, or update to version 1.4.3 or 1.5.3.

Version 1.4.3:
http://www.lysator.liu.se/~nisse/archive/lsh-1.4.3.tar.gz
ftp://ftp.lysator.liu.se/pub/security/lsh/lsh-1.4.3.tar.gz

Version 1.5.3:
http://www.lysator.liu.se/~nisse/archive/lsh-1.5.3.tar.gz
ftp://ftp.lysator.liu.se/pub/security/lsh/lsh-1.5.3.tar.gz

Patch for 1.4.2:
http://www.lysator.liu.se/~nisse/archive/lsh-1.4.2-1.4.3.diff.gz
ftp://ftp.lysator.liu.se/pub/security/lsh/lsh-1.4.2-1.4.3.diff.gz

Provided and/or discovered by:
Bennett Todd

Original Advisory:
http://lists.lysator.liu.se/pipermail/lsh-bugs/2003q3/000127.html


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. Subdreamer Light Global Variables SQL Injection Vulnerability // 31 views
2. Microsoft Office Two Code Execution Vulnerabilities // 20 views
3. Apple QuickTime Multiple Vulnerabilities // 19 views
4. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 17 views
5. Microsoft Word Malformed Object Pointer Vulnerability // 16 views
6. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 16 views
7. PluggedOut Blog "index.php" SQL Injection Vulnerabilities // 16 views
8. Opera Multiple Vulnerabilities // 14 views
9. CS-Cart "cs_cookies" SQL Injection Vulnerability // 13 views
10. Drupal Content Construction Kit Script Insertion Vulnerabilities // 13 views