SecurityContext

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

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://github.com/Strikoder-Premium/sendmail-clamav-exploit-CVE-2007-4560poc-in-github2025-12-07
https://github.com/0x1sac/ClamAV-Milter-Sendmail-0.91.2-Remote-Code-Executionpoc-in-github2022-12-31
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/smtp/clamav_milter_blackhole.rbmetasploit2007-08-24

References

Same in every row:

  • Source: nvd
UrlTags
http://www.nruns.com/security_advisory_clamav_remote_code_exection.phpPatch
http://www.securityfocus.com/bid/25439Patch
http://secunia.com/advisories/26654Vendor Advisory
http://secunia.com/advisories/26674Vendor Advisory
http://secunia.com/advisories/26683Vendor Advisory
http://secunia.com/advisories/26751Vendor Advisory
http://secunia.com/advisories/26822Vendor Advisory
http://secunia.com/advisories/26916Vendor Advisory
http://docs.info.apple.com/article.html?artnum=307562
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html

Products

ProductAffectedPlatform boundSourcesUrl
clam_anti-virus:clamav<= 0.91.1nonvd/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