Clam AntiVirus rebuildpe.c buffer overflow
| clamav-rebuildpe-bo (29607) |
Description:
Clam AntiVirus is vulnerable to a heap-based buffer overflow, caused by an integer overflow in rebuildpe.c when processing Portable Executable (PE) files. By passing a malicious executable file with overly long variables through the scanning engine, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the affected application to crash.
Platforms Affected:
- Apple, Mac OS X Server 10.4.8
- Clam Anti-Virus, ClamAV 0.88.4 and prior
- Debian, Debian Linux 3.1
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 2006
- MandrakeSoft, Mandrake Linux 2006 X86_64
- MandrakeSoft, Mandrake Linux 2007 X86_64
- MandrakeSoft, Mandrake Linux 2007
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 4.0
- Novell, Linux POS 9
- Novell, Open Enterprise Server
- Novell, Open Enterprise Server
- SuSE, SuSE SLES 10
- SuSE, SuSE SLES 9
Remedy:
Upgrade to the latest version of Clam AntiVirus (0.88.5 or later), available from SourceForge.net. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200610-10 for patch, upgrade, or suggested workaround information. See References.
For Debian GNU/Linux:
Refer to DSA-1196-1 for patch, upgrade, or suggested workaround information. See References.
Apply Apple Security Update 2006-007, available from the Apple Web site. See References.
For SUSE Linux:
Refer to SUSE-SA:2006:060 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- Apple Security Update 2006-007, About the security content of Security Update 2006-007 at http://docs.info.apple.com/article.html?artnum=304829.
- iDefense Labs PUBLIC ADVISORY: 10.15.06, Clam AntiVirus ClamAV rebuildpe Heap Overflow Vulnerability at http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=422.
- SourceForge.net: Files, Clam AntiVirus - File Release Notes and Changelog - Release Name: 0.88.5 at http://sourceforge.net/project/shownotes.php?release_id=455799.
- BID-20535: Clam Anti-Virus PE Rebuilding Heap Buffer Overflow Vulnerability
- CVE-2006-4182: Integer overflow in ClamAV 0.88.1 and 0.88.4, and other versions before 0.88.5, allows remote attackers to cause a denial of service (scanning service crash) and execute arbitrary code via a crafted Portable Executable (PE) file that leads to a heap-based buffer overflow when less memory is allocated than expected.
- DSA-1196: clamav -- several vulnerabilities
- GLSA-200610-10: ClamAV: Multiple Vulnerabilities
- MDKSA-2006:184: Updated clamav packages fix vulnerabilities
- SA22370: Clam AntiVirus CHM Unpacker and PE Rebuilding Vulnerabilities
- SA22488: Kolab Server ClamAV CHM Unpacker and PE Rebuilding Vulnerabilities
- SA22626: SnapGear Multiple Vulnerabilities
- SA23155: Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1017068: Clam AntiVirus PE File Heap Overflow Lets Remote Users Execute Arbitrary Code
- SUSE-SA:2006:060: clamav security problems
- US-CERT VU#180864: Clam AntiVirus fails to properly handle crafted Portable Executable (PE) files
- VUPEN/ADV-2006-4034: Clam AntiVirus PE Rebuilding and CHM Unpacker Code Execution and DoS Issues
- VUPEN/ADV-2006-4136: Kolab Server ClamAV Integer Overflow and Denial of Service Vulnerabilities
- VUPEN/ADV-2006-4264: SnapGear Security Update Fixes Multiple OpenSSL and ClamAV Vulnerabilities
- VUPEN/ADV-2006-4750: Apple Mac OS X Multiple Command Execution and Denial of Service Vulnerabilities
Reported:
Oct 15, 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
