CVE-2007-4560: ClamAV - Command Injection
- Cve: CVE-2007-4560
- Name: ClamAV - Command Injection
- 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."
- Impact: Remote attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
- Remediation: Update to ClamAV version 0.91.2 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.6
- Cvss vector: CVSS:2.0/AV:N/AC:H/Au:N/C:C/I:C/A:C
- Epss score: 0.83539
- Epss percentile: 0.99692
- Assignee: [email protected]
- Published at: 2007-08-28T01:17:00Z
- Age in days: 7028
- Modified at: 2026-06-16T22:44:19Z
- Patch available: yes
- Public exploits total: 3
- References total: 21
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-4560
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Strikoder-Premium/sendmail-clamav-exploit-CVE-2007-4560 | poc-in-github | 2025-12-07 |
| https://github.com/0x1sac/ClamAV-Milter-Sendmail-0.91.2-Remote-Code-Execution | poc-in-github | 2022-12-31 |
| https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/smtp/clamav_milter_blackhole.rb | metasploit | 2007-08-24 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| clam_anti-virus:clamav | <= 0.91.1 | no | nvd | /v1/products/clam_anti-virus/clamav |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2007-08-24
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts