Clam AntiVirus MIME header directory traversal

clamav-mimeheader-directory-traversal (32535) The risk level is classified as MediumMedium Risk

Description:

Clam AntiVirus could allow a remote attacker to traverse directories on the system, caused by improper validation of MIME headers. An attacker could send a specially-crafted MIME message containing "dot dot" sequences (/../) in the id parameter to create or overwrite arbitrary files on the system.

*CVSS:

Base Score: 5.3
  Access Vector: Remote
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: None
 
Temporal Score: 4.6
  Exploitability: High
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

File Manipulation

Remedy:

Upgrade to the latest version of Clam AntiVirus (0.90 or later), available from SourceForge.net. See References.

For Gentoo Linux (clamav):
Refer to GLSA 200703-03 for patch, upgrade, or suggested workaround information. See References.

For Mandriva Linux (clamav):
Refer to MDKSA-2007:043 for patch, upgrade, or suggested workaround information. See References.

For Debian Linux (clamav):
Refer to DSA-1263-1 for patch, upgrade, or suggested workaround information. See References.

For SUSE Linux (clamav):
Refer to SUSE-SA:2007:017 for patch, upgrade, or suggested workaround information. See References.

For Mac OS X:
Apply Security Update 2008-002, available from the Apple Web site. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

  • Apple Web site: About Security Update 2008-002.
  • iDefense Labs PUBLIC ADVISORY: 02.15.07: Multiple Vendor ClamAV MIME Parsing Directory Traversal Vulnerability.
  • SourceForge.net: Clam AntiVirus.
  • BID-22581: ClamAV MIME Header ID Parameter String Directory Traversal Vulnerability
  • CVE-2007-0898: Directory traversal vulnerability in clamd in Clam AntiVirus ClamAV before 0.90 allows remote attackers to overwrite arbitrary files via a .. (dot dot) in the id MIME header parameter in a multi-part message.
  • DSA-1263: clamav -- several vulnerabilities
  • GLSA-200703-03: ClamAV: Denial of Service
  • MDKSA-2007:043: clamav
  • OSVDB ID: 32282: Clam AntiVirus MIME Header Traversal Arbitrary File Overwrite
  • SA24187: ClamAV MIME Header Handling and CAB File Processing Vulnerabilities
  • SA29420: Mac OS X Security Update Fixes Multiple Vulnerabilities
  • SECTRACK ID: 1017660: Clam AntiVirus MIME Parameter Directory Traversal Bug Lets Remote Users Overwrite Certain Files
  • SUSE-SA:2007:017: clamav 0.90 update
  • VUPEN/ADV-2007-0623: ClamAV MIME Header Directory Traversal and CAB File Denial of Service Vulnerabilities
  • VUPEN/ADV-2008-0924: Apple Mac OS X Command Execution and Security Bypass Issues

Platforms Affected:

  • Apple Mac OS X Server 10.4.11
  • ClamAV ClamAV prior to 0.90
  • 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 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • 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
  • Novell OpenSUSE 10.2
  • SUSE SuSE Linux 10.0
  • SUSE SuSE Linux 10.1
  • SUSE SuSE Linux 9.3
  • SuSE SuSE SLED 10
  • SuSE SuSE SLES 10
  • SuSE SuSE SLES 9

Reported:

Feb 15, 2007

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 Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.