Clam AntiVirus libclamav/upx.c buffer overflow
| clamav-libclamav-upx-bo (24047) |
Description:
Clam AntiVirus is vulnerable to a heap-based buffer overflow in libclamav/upx.c. By creating a malicious UPX file, and sending it to a vulnerable system as an email attachment, a remote attacker could overflow a buffer and execute arbitrary code or cause the affected application to crash, once the malicious file is processed.
Platforms Affected:
- Clam Anti-Virus, ClamAV prior to 0.88
- Debian, Debian Linux 3.1
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 10.1
- MandrakeSoft, Mandrake Linux 10.1 X86_64
- MandrakeSoft, Mandrake Linux 2006 X86_64
- MandrakeSoft, Mandrake Linux 2006
- MandrakeSoft, Mandrake Linux LE2005 X86_64
- MandrakeSoft, Mandrake Linux LE2005
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
Remedy:
Upgrade to the latest version of Clam AntiVirus (0.88 or later), available from SourceForge.net. See References.
For Debian GNU/Linux:
Refer to DSA-947-1 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2006-01-07 and GLSA 2005-11-04 for patch, upgrade, or suggested workaround information. See References.
Consequences:
Gain Access
References:
- SourceForge.net: Clam AntiVirus, Latest File Releases at http://sourceforge.net/project/showfiles.php?group_id=86638.
- SourceForge.net: Files, Clam AntiVirus Release Name: 0.88 at http://sourceforge.net/project/shownotes.php?release_id=384086.
- ZDI-06-001, Clam AntiVirus UPX Unpacking Code Execution at http://www.zerodayinitiative.com/advisories/ZDI-06-001.html.
- BID-16191: Clam Anti-Virus ClamAV UPX Compressed File Heap Buffer Overflow Vulnerability
- CVE-2005-3587: Improper boundary checks in petite.c in Clam AntiVirus (ClamAV) before 0.87.1 allows attackers to perform unknown attacks via unknown vectors.
- CVE-2006-0162: Heap-based buffer overflow in libclamav/upx.c in Clam Antivirus (ClamAV) before 0.88 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via crafted UPX files.
- DSA-947: clamav -- heap overflow
- GLSA-200511-04: ClamAV: Multiple vulnerabilities
- GLSA-200601-07: ClamAV: Remote execution of arbitrary code
- MDKSA-2005:205: Updated clamav packages fix multiple vulnerabilities
- MDKSA-2006:016: Updated clamav packages fix vulnerability
- OSVDB ID: 22318: Clam AntiVirus UPX File Processing Overflow
- SA18379: ClamAV UPX File Handling Buffer Overflow Vulnerability
- SECTRACK ID: 1015457: Clam AntiVirus pefromupx() Buffer Overflow Has Unspecified Impact
- SUSE-SR:2006:001: SUSE Security Summary Report
- US-CERT VU#385908: Clam AntiVirus vulnerable to memory corruption via specially crafted UPX packed file
- VUPEN/ADV-2006-0116: Clam AntiVirus (ClamAV) UPX File Handling Buffer Overflow Vulnerability
Reported:
Jan 09, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
