{"id":"CVE-2007-3215","published":"2007-06-14T22:00:00Z","modified":"2024-08-07T14:05:29Z","title":"PHPMailer 1.7, when configured to use sendmail, allows remote attackers to execute arbitrary shell commands via shell…","vendor":null,"product":null,"tier":"tail","description":{"text":"PHPMailer 1.7, when configured to use sendmail, allows remote attackers to execute arbitrary shell commands via shell metacharacters in the SendmailSend function in class.phpmailer.php.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02407,"percentile":0.8448,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/archive/1/471065/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.debian.org/security/2007/dsa-1315","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://sourceforge.net/project/shownotes.php?release_id=517428&group_id=157374","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34818","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/25755","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securityreason.com/securityalert/2802","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://osvdb.org/76139","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.securityfocus.com/bid/24417","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://sourceforge.net/tracker/index.php?func=detail&aid=1734811&group_id=26031&atid=385707","tags":["x_refsource_MISC"]},{"url":"http://osvdb.org/37206","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.vupen.com/english/advisories/2007/2267","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://larholm.com/2007/06/11/phpmailer-0day-remote-execution/","tags":["x_refsource_MISC"]},{"url":"http://yehg.net/lab/pr0js/advisories/%5BvTiger_5.2.1%5D_rce","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/25626","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/25758","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2007/2161","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://seclists.org/fulldisclosure/2011/Oct/223","tags":["mailing-list","x_refsource_FULLDISC"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":16.9}]},"affected":[{"ecosystem":"Packagist","package":"phpmailer/phpmailer","vulnerableRanges":["<1.7.4"],"patched":["1.7.4"],"from":["GHSA-6h78-85v2-mmch"],"provenance":"source"}],"summary":{"text":"The flaw lies in the SendmailSend function of class.phpmailer.php in PHPMailer 1.7, which is the code path used when the library is configured to send mail through sendmail. Remote attackers can exploit it by supplying shell metacharacters that are passed unsanitised to the shell, allowing them to execute arbitrary commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:30Z"},"euvd":{"id":"EUVD-2024-0536","exploited":false,"provenance":"source"}}