CVE-2004-1876 Command injection in n/a

Medium 4.6 Published Updated

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.

All Clam Anti-Virus Clamav vulnerabilities

Sources

Also known as DEBIAN-CVE-2004-1876, GHSA-6xg8-8xmf-qghw.

Is CVE-2004-1876 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free