CVE-2004-1876 Command injection in n/a
Local attackers can execute arbitrary commands via shell metacharacters in filenames when the VirusEvent directive is configured.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2004-1876?
CVE-2004-1876 is a medium-severity command injection vulnerability in Clam Anti-Virus Clamav, published on 10 May 2005. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2004-1876?
It affects 1 product.
Products include Clam Anti-Virus Clamav.
How do I fix CVE-2004-1876?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2004-1876 being exploited?
There is no known exploitation of CVE-2004-1876 in the wild and no public exploit code.
Other vulnerabilities in Clam Anti-Virus Clamav
- CVE-2008-1100 Memory corruption in n/a
- CVE-2008-0318 Integer overflow in n/a
- CVE-2007-6337 Unspecified vulnerability in the bzip2 decompression algorithm in nsis/bzlib_private.h in ClamAV before 0.92 has unknown impact and remote attack vectors.
- CVE-2007-3023 Memory corruption in n/a
- CVE-2005-3587 Memory corruption in n/a
Sources
Also known as DEBIAN-CVE-2004-1876, GHSA-6xg8-8xmf-qghw.