CVE-2007-4560 Command injection in n/a

High 7.6 Published Updated

Remote attackers can execute arbitrary commands in ClamAV's milter when black hole mode is enabled, due to improper handling of recipient fields.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-4560?

CVE-2007-4560 is a high-severity command injection vulnerability in Clam Anti-Virus Clamav, published on 28 Aug 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

clamav-milter in ClamAV before 0.91.2, when run in black hole mode, allows remote attackers to execute arbitrary commands via shell metacharacters that are used in a certain popen call, involving the "recipient field of sendmail."

Weakness: CWE-78

Which versions are affected by CVE-2007-4560?

It affects 1 product.

Products include Clam Anti-Virus Clamav.

How do I fix CVE-2007-4560?

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-2007-4560 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-4560 exists.

Public exploit code: 1 Metasploit module, 3 Exploit-DB entries and 2 proofs of concept on GitHub.

All Clam Anti-Virus Clamav vulnerabilities

Sources

Also known as DEBIAN-CVE-2007-4560, GHSA-86rv-pvv7-jwp8.

Is CVE-2007-4560 in your software?

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

Check your SBOMs for free