CVE-2004-1876 The "%f" feature in the VirusEvent directive in Clam AntiVirus daemon (clamd) before 0.70 allows local users to execute arbitrary commands via shell metacharacters in a file name.
MediumCVSS 4.6
EPSS 0.59%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
Description
The "%f" feature in the VirusEvent directive in Clam AntiVirus daemon (clamd) before 0.70 allows local users to execute arbitrary commands via shell metacharacters in a file name.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/clamav(Debian 12) | < 0.70-1 | 0.70-1 | Fixed |
| debian/clamav(Debian 13) | < 0.70-1 | 0.70-1 | Fixed |
| debian/clamav(Debian 14) | < 0.70-1 | 0.70-1 | Fixed |
| clam anti-virus clamav | = 0.51; = 0.52; = 0.53; = 0.54 +5 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| clam anti-virus clamav | = 0.51 | No fix listed |
| clam anti-virus clamav | = 0.52 | No fix listed |
| clam anti-virus clamav | = 0.53 | No fix listed |
| clam anti-virus clamav | = 0.54 | No fix listed |
| clam anti-virus clamav | = 0.60 | No fix listed |
| clam anti-virus clamav | = 0.65 | No fix listed |
| clam anti-virus clamav | = 0.67 | No fix listed |
| clam anti-virus clamav | = 0.68 | No fix listed |
| clam anti-virus clamav | = 0.68.1 | No fix listed |
| debian/clamav(Debian:12) | < 0.70-1 | 0.70-1 |
| debian/clamav(Debian:14) | < 0.70-1 | 0.70-1 |
| debian/clamav(Debian:13) | < 0.70-1 | 0.70-1 |
References
- 20040330 clamd - NEVER use "%f" in your "VirusEvent" mailing-list
- 11253 patch third-party-advisory vendor-advisory
- GLSA-200405-03 patch vendor-advisory
- 10007 exploit patch vdb-entry vendor-advisory
- clamantivirus-virusevent-gain-privileges(15692) vdb-entry
- Debian Security Tracker CVE-2004-1876 vendor-advisory