ClamAV Multiple Vulnerabilities
Secunia Advisory: SA28117
Release Date: 2007-12-19
Last Update: 2008-01-02
Popularity: 7,029 views

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

Software:Clam AntiVirus (clamav) 0.x

Binary Analysis: BA331 :: Available for Credits

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-6335
CVE-2007-6336
CVE-2007-6337


Description:
Some vulnerabilities have been reported in ClamAV, where one vulnerability has an unknown impact and others can be exploited by malicious people to cause a DoS (Denial of Service) or compromise a vulnerable system.

1) An integer overflow error exists within the "cli_scanpe()" function when handling MEW packed executables. This can be exploited to cause a heap-based buffer overflow via specially crafted "ssize" and "dsize" values.

Successful exploitation allows execution of arbitrary code.

2) An off-by-one error exists within libclamav/mspack.c when handling MSZIP compressed files. This can be exploited to e.g. crash the scanner or potentially execute arbitrary code via a specially crafted MSZIP compressed file.

3) An boundary error exists within the bzip2 "BZ_GET_FAST()" and "BZ_GET_FAST_C()" decompression macros in libclamav/nsis/bzlib_private.h.

The vulnerabilities are reported in versions prior to 0.92.

Solution:
Update to version 0.92.

Provided and/or discovered by:
1) Discovered by an anonymous researcher and reported via iDefense Labs.
2) Reported in a bug by Török Edwin.
3) Reported via a Gentoo security advisory.

Changelog:
2007-12-20: Updated advisory to include vulnerability #2. Updated CVE references.
2008-01-02: Updated advisory to include vulnerability #3. Updated CVE references.

Original Advisory:
ClamAV:
http://sourceforge.net/project/showno...?release_id=562254&group_id=86638

iDefense:
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=634

Bug 663:
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=663

Gentoo:
http://www.gentoo.org/security/en/glsa/glsa-200712-20.xml


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 // 61 views
2. Adobe Flash Player Multiple Vulnerabilities // 41 views
3. Opera Multiple Vulnerabilities // 17 views
4. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 17 views
5. VLC Media Player Multiple Vulnerabilities // 17 views
6. Microsoft Word Malformed Object Pointer Vulnerability // 16 views
7. Microsoft Office Two Code Execution Vulnerabilities // 16 views
8. Netgear WN802T Wireless Access Point Two Vulnerabilities // 15 views
9. Microsoft Office Excel Multiple Vulnerabilities // 15 views
10. Sun Java JDK / JRE Multiple Vulnerabilities // 11 views