{"id":"CVE-2007-4560","published":"2007-08-28T01:00:00Z","modified":"2024-08-07T15:01:09Z","title":"clamav-milter in ClamAV before 0.91.2, when run in black hole mode, allows remote attackers to execute arbitrary…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.\"","provenance":"source","from":"CVE.org"},"summary":{"text":"clamav-milter, the mail filter component of ClamAV, contains a flaw in its black hole mode where shell metacharacters in the sendmail recipient field are passed into a popen call. Remote attackers able to send mail to the affected milter can exploit this to execute arbitrary commands, with no authentication or user interaction indicated beyond the milter running in black hole mode.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:20:16Z"},"cvss":null,"epss":{"score":0.83539,"percentile":0.99683,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"http://security.gentoo.org/glsa/glsa-200709-14.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://securityreason.com/securityalert/3063","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://secunia.com/advisories/26822","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/26916","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/archive/1/477723/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/26683","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.nruns.com/security_advisory_clamav_remote_code_exection.php","tags":["x_refsource_MISC"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00104.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.debian.org/security/2007/dsa-1366","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.vupen.com/english/advisories/2008/0924/references","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.trustix.org/errata/2007/0026/","tags":["vendor-advisory","x_refsource_TRUSTIX"]},{"url":"http://secunia.com/advisories/29420","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2007_18_sr.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://secunia.com/advisories/26751","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securitytracker.com/id?1018610","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://secunia.com/advisories/26654","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://docs.info.apple.com/article.html?artnum=307562","tags":["x_refsource_CONFIRM"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:172","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/26674","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/25439","tags":["vdb-entry","x_refsource_BID"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2007-4542","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2007-4542","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":4761,"url":"https://www.exploit-db.com/exploits/4761","title":"Sendmail with clamav-milter < 0.91.2 - Remote Command Execution","type":"remote","platform":"multiple","date":"2007-12-21","verified":true,"provenance":"source"},{"id":9913,"url":"https://www.exploit-db.com/exploits/9913","title":"ClamAV Milter 0.92.2 - Blackhole-Mode (Sendmail) Code Execution (Metasploit)","type":"remote","platform":"multiple","date":"2007-08-24","verified":true,"provenance":"source"},{"id":16924,"url":"https://www.exploit-db.com/exploits/16924","title":"ClamAV Milter - Blackhole-Mode Remote Code Execution (Metasploit)","type":"remote","platform":"linux","date":"2010-10-09","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":3,"earliest":"2007-08-24"},"pocGithub":{"count":2,"skipped":0,"earliest":"2022-12-31","earliestUrl":"https://github.com/0x1sac/ClamAV-Milter-Sendmail-0.91.2-Remote-Code-Execution","repos":[{"name":"Strikoder-Premium/sendmail-clamav-exploit-CVE-2007-4560","url":"https://github.com/Strikoder-Premium/sendmail-clamav-exploit-CVE-2007-4560","stars":4,"created":"2025-12-07"},{"name":"0x1sac/ClamAV-Milter-Sendmail-0.91.2-Remote-Code-Execution","url":"https://github.com/0x1sac/ClamAV-Milter-Sendmail-0.91.2-Remote-Code-Execution","stars":0,"created":"2022-12-31"}]},"metasploit":[{"name":"ClamAV Milter Blackhole-Mode Remote Code Execution","module":"exploit/unix/smtp/clamav_milter_blackhole","type":"exploit","disclosureDate":"2007-08-24","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/smtp/clamav_milter_blackhole.rb"}],"first":{"date":"2007-08-24","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/9913"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2007-08-24","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-9913); later: Metasploit 2007-08-24, PoC-in-GitHub 2022-12-31","url":"https://www.exploit-db.com/exploits/9913","provenance":"source"},{"date":"2007-08-28","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2007-4560","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.94,"detail":"percentile 0.9968"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 Exploit-DB entries; 2 PoC-in-GitHub repos; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}