PT-2005-2762 · Clam Antivirus · Clamav
Published
2005-05-27
·
Updated
2016-05-25
·
CVE-2005-1795
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
Clam AntiVirus (ClamAV) versions prior to 0.85
Description
The issue allows remote attackers to execute arbitrary code via a virus in a filename containing shell metacharacters. This occurs when HFS permissions prevent the file from being deleted and
ditto is invoked.Recommendations
For versions prior to 0.85, update to version 0.85 or later to resolve the issue. As a temporary workaround, consider restricting access to the
filecopy function in misc.c until a patch is available. Avoid using filenames that contain shell metacharacters in the affected filecopy function until the issue is resolved.Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Clamav