Clam AntiVirus libclamav/upx.c buffer overflow

clamav-libclamav-upx-bo (24047) The risk level is classified as HighHigh Risk

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.

*CVSS:

Base Score: 8
  Access Vector: Remote
  Access Complexity: High
  Authentication: Not Required
  Confidentiality Impact: Complete
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 5.9
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

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.

References:

  • SourceForge.net: Clam AntiVirus: Latest File Releases.
  • SourceForge.net: Files: Clam AntiVirus Release Name: 0.88.
  • ZDI-06-001: Clam AntiVirus UPX Unpacking Code Execution.
  • 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
  • OSVDB ID: 31296: Clam AntiVirus petite.c Unspecified 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

Platforms Affected:

  • ClamAV 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
  • MandrakeSoft Mandrake Linux 2006 X86_64
  • MandrakeSoft Mandrake Linux LE2005 X86_64
  • MandrakeSoft Mandrake Linux LE2005
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64

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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.