CVE-2007-4560 Command injection in n/a
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.
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-2007-4560, GHSA-86rv-pvv7-jwp8.