Secunia Logo
Netsikker nu! 2008
 
ClamAV Multiple Vulnerabilities
Secunia Advisory: SA28117
Release Date: 2007-12-19
Last Update: 2008-01-02
Popularity: 7,443 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 1 Credit

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 // 34 views
2. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 31 views
3. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 26 views
4. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 25 views
5. CA ARCserve Backup Multiple Vulnerabilities // 25 views
6. Red Hat update for cups // 21 views
7. FUJITSU Interstage Products Apache Tomcat Security Bypass // 20 views
8. CUPS Multiple Vulnerabilities // 20 views
9. Built2go Real Estate Listings "event_id" SQL Injection // 19 views
10. Gentoo Portage Insecure Python Module Search Path Security Issue // 18 views