Clam Anti-Virus ClamAV Mac OS X Command Execution Vulnerability

BID:13795

Info

Clam Anti-Virus ClamAV Mac OS X Command Execution Vulnerability

Bugtraq ID: 13795
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: May 28 2005 12:00AM
Updated: Mar 08 2007 12:25AM
Credit: Discovery is credited to Tim <[email protected]> and Kevin Amorin.
Vulnerable: Clam Anti-Virus ClamAV 0.84 rc2
Clam Anti-Virus ClamAV 0.84 rc1
Clam Anti-Virus ClamAV 0.83
Clam Anti-Virus ClamAV 0.82
Clam Anti-Virus ClamAV 0.81
+ Gentoo Linux
Clam Anti-Virus ClamAV 0.80 rc4
Not Vulnerable: Clam Anti-Virus ClamAV 0.85.1
Clam Anti-Virus ClamAV 0.85
Clam Anti-Virus ClamAV 0.84
+ Debian Linux 3.1 sparc
+ Debian Linux 3.1 s/390
+ Debian Linux 3.1 ppc
+ Debian Linux 3.1 mipsel
+ Debian Linux 3.1 mips
+ Debian Linux 3.1 m68k
+ Debian Linux 3.1 ia-64
+ Debian Linux 3.1 ia-32
+ Debian Linux 3.1 hppa
+ Debian Linux 3.1 arm
+ Debian Linux 3.1 alpha
+ Debian Linux 3.1

Discussion

Clam Anti-Virus ClamAV Mac OS X Command Execution Vulnerability

Clam Anti-Virus ClamAV running on Mac OS X is affected by a command-execution vulnerability.

Reportedly, when the application handles a suspected infected file, it cannot be removed. The application may attempt to copy the file to another location using the Mac OS X 'ditto' utility. Since the 'ditto' utility is called in an insecure manner and since the responsible function fails to sanitize the filename, an attacker can include arbitrary commands in the filename that will be executed in the context of ClamAV.

An attacker can exploit this issue to gain unauthorized access to an affected computer. Note that exploitation is possible only when a malicious file is copied.

ClamAV versions 0.80rc4 to 0.84rc2 are affected by this issue.

Exploit / POC

Clam Anti-Virus ClamAV Mac OS X Command Execution Vulnerability

An exploit is not required.

Solution / Fix

Clam Anti-Virus ClamAV Mac OS X Command Execution Vulnerability

Solution:
ClamAV 0.84 and subsequent versions are not affected by this issue.


Clam Anti-Virus ClamAV 0.80 rc4

Clam Anti-Virus ClamAV 0.81

Clam Anti-Virus ClamAV 0.82

Clam Anti-Virus ClamAV 0.83

Clam Anti-Virus ClamAV 0.84 rc2

Clam Anti-Virus ClamAV 0.84 rc1

References

Clam Anti-Virus ClamAV Mac OS X Command Execution Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report