Secunia Logo
Netsikker nu! 2008
 
CHM Lib Multiple Buffer Overflow Vulnerabilities
Secunia Advisory: SA17325
Release Date: 2005-10-26
Last Update: 2005-11-08
Popularity: 7,543 views

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

Software:CHM Lib (chmlib) 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-2659
CVE-2005-2930
CVE-2005-3318


Description:
Some vulnerabilities have been reported in CHM Lib (chmlib), which potentially can be exploited by malicious people to compromise a user's system.

1) A boundary error exists in the "_chm_decompress_block()" function when reading input from a ".chm" file into a stack buffer. This can be exploited to cause a stack-based buffer overflow and may allow arbitrary code execution via a specially crafted ".chm" file.

The vulnerability has been reported in version 0.36 and prior.

2) A boundary error exists in the "_chm_find_in_PMGL()" function when reading input from a ".chm" file into a stack buffer. This can be exploited to cause a stack-based buffer overflow and may allow arbitrary code execution via a specially crafted ".chm" file.

3) An unspecified boundary error exists when performing LZX decompression. This may be exploited to cause a buffer overflow.

Vulnerability #2 and #3 has been reported in version 0.35.

Note: The vulnerabilities potentially affect other applications that use the library.

Solution:
Update to version 0.37.
http://morte.jedrea.com/~jedwin/projects/chmlib/

Provided and/or discovered by:
1) Sven Tantau
2) Discovered by anonymous and reported via iDEFENSE.
3) Palasik Sandor

Changelog:
2005-10-31: Added information of additional vulnerabilities. Updated "Description", "Original Advisory" and credit sections.
2005-11-07: Added CVE reference.
2005-11-08: Added CVE reference.

Original Advisory:
Sven Tantau:
http://www.sven-tantau.de/public_files/chmlib/chmlib_20051126.txt

iDEFENSE:
http://www.idefense.com/application/poi/display?id=332&type=vulnerabilities


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. phpBB Avatar Functions Information Disclosure and Deletion // 127 views
2. phpBB Avatar Script Insertion Vulnerability // 112 views
3. phpBB "url" bbcode Script Insertion Vulnerability // 100 views
4. phpBB BBcode "url" Script Insertion Vulnerability // 79 views
5. ArticleBeach Script "page" File Inclusion Vulnerability // 63 views
6. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 35 views
7. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 33 views
8. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 27 views
9. CA ARCserve Backup Multiple Vulnerabilities // 27 views
10. CUPS Multiple Vulnerabilities // 25 views