Secunia Logo
 
ClamAV Multiple Vulnerabilities
Secunia Advisory: SA29000
Release Date: 2008-04-14
Last Update: 2008-04-22
Popularity: 9,692 views

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

Software:Clam AntiVirus (clamav) 0.x
ClamWin Free Antivirus 0.x

Binary Analysis: BA446 :: Available for 1 Credit
BA456 :: Available for 1 Credit

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-1100
CVE-2008-0314
CVE-2008-1387
CVE-2008-1833
CVE-2008-1835
CVE-2008-1836
CVE-2008-1837


Description:
Some vulnerabilities have been reported in ClamAV, which can be exploited by malicious people to bypass certain security restrictions, to cause a DoS (Denial of Service), or to compromise a vulnerable system.

1) A boundary error exists within the "cli_scanpe()" function in libclamav/pe.c. This can be exploited to cause a heap-based buffer overflow via a specially crafted "Upack" executable.

Successful exploitation allows execution of arbitrary code.

2) A boundary error within the processing of PeSpin packed executables in libclamav/spin.c can be exploited to cause a heap-based buffer overflow.

Successful exploitation may allow execution of arbitrary code.

3) An unspecified error in the processing of ARJ files can be exploited to hang ClamAV.

4) A boundary error within the processing of WWPack packed PE files in libclamav/pe.c can be exploited to cause a heap corruption.

Successful exploitation may allow execution of arbitrary code.

5) An error in the processing of RAR files can be exploited to bypass the scanning mechanism via a RAR file containing an invalid version number.

6) An error exists within the "rfc2231()" function in message.c. This can be exploited to trigger the return of strings that are not NULL terminated and cause a crash.

7) An error in libclamunrar can be exploited to crash the application via specially crafted RAR files.

The vulnerabilities are reported in version 0.92.1. Prior versions may also be affected.

Solution:
Update to version 0.93.

Provided and/or discovered by:
1) Alin Rad Pop, Secunia Research.
2) Damian Put, reported via iDefense.
3) Discovered using the PROTOS Genome Test Suite. Reported by Hanno Böck.
4) Damian Put and Thomas Pollet, reported via iDefense.
5) Reported by Thierry Zoller in a ClamAV bug report.
6) Reported by the vendor.
7) Discovered using the PROTOS Genome Test Suite. Reported by the vendor.

Changelog:
2008-04-15: Added vulnerabilities #2 and #3 to the advisory. Updated "Solution", credits, and "Original Advisory" sections.
2008-04-16: Added vulnerability #4. Updated credits and "Original Advisory" section.
2008-04-17: Added CVE reference.
2008-04-21: Added ClamWin to list of affected products. Added CVE reference. Added link to US-CERT.
2008-04-22: Added vulnerabilities #5, #6, and #7 to the advisory. Updated credits and "Original Advisory" section. Added CVE references.

Original Advisory:
ClamAV:
https://www.clamav.net/bugzilla/show_bug.cgi?id=878
https://www.clamav.net/bugzilla/show_bug.cgi?id=876
https://www.clamav.net/bugzilla/show_bug.cgi?id=897
https://www.clamav.net/bugzilla/show_bug.cgi?id=877
https://www.clamav.net/bugzilla/show_bug.cgi?id=541
https://www.clamav.net/bugzilla/show_bug.cgi?id=881
https://www.clamav.net/bugzilla/show_bug.cgi?id=898

Secunia Research:
http://secunia.com/secunia_research/2008-11/

Hanno Böck:
http://int21.de/cve/CVE-2008-1387-clamav.html

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

Other References:
US-CERT VU#858595:
http://www.kb.cert.org/vuls/id/858595


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. Symantec Backup Exec for Windows Servers Multiple Vulnerabilities // 53 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 49 views
3. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 46 views
4. HP OpenView Network Node Manager Cross-Site Scripting Vulnerabilities // 32 views
5. ClipShare "chid" SQL Injection Vulnerability // 30 views
6. Alex Multiple Products File Upload Vulnerability // 29 views
7. MailScanner "trend-autoupdate" Insecure Temporary Files // 27 views
8. Mozilla Firefox 3 Multiple Vulnerabilities // 27 views
9. MauryCMS "c" SQL Injection Vulnerability // 27 views
10. Adobe AIR Multiple Vulnerabilities // 25 views