CVE-2007-3215
MEDIUM 6.8CVSS 2.0PHPMailer Shell command injection
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.
- Published
- 14 Jun 2007
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-6h78-85v2-mmch
- Sources
- NVDJSONOSV GHSA-6h78-85v2-mmchJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | phpmailer | phpmailercpe:2.3:a:phpmailer:phpmailer:1.7:*:*:*:*:*:*:* |
= 1.7 | |
| NVD | phpmailer | phpmailercpe:2.3:a:phpmailer:phpmailer:1.7.1:*:*:*:*:*:*:* |
= 1.7.1 | |
| NVD | phpmailer | phpmailercpe:2.3:a:phpmailer:phpmailer:1.7.2:*:*:*:*:*:*:* |
= 1.7.2 | |
| NVD | phpmailer | phpmailercpe:2.3:a:phpmailer:phpmailer:1.7.3:*:*:*:*:*:*:* |
= 1.7.3 | |
| NVD | phpmailer | phpmailercpe:2.3:a:phpmailer:phpmailer:1.73:*:*:*:*:*:*:* |
= 1.73 | |
| OSV | Packagist | phpmailer/phpmailer | < 1.7.4 | 1.7.4 |
References
- http://larholm.com/2007/06/11/phpmailer-0day-remote-execution/
- http://osvdb.org/37206
- http://osvdb.org/76139
- http://seclists.org/fulldisclosure/2011/Oct/223
- http://secunia.com/advisories/25626 · Vendor Advisory
- http://secunia.com/advisories/25755
- http://secunia.com/advisories/25758
- http://securityreason.com/securityalert/2802
- http://sourceforge.net/project/shownotes.php?release_id=517428&group_id=157374
- http://www.debian.org/security/2007/dsa-1315
- http://www.securityfocus.com/archive/1/471065/100/0/threaded
- http://www.securityfocus.com/bid/24417
- http://www.vupen.com/english/advisories/2007/2161
- http://www.vupen.com/english/advisories/2007/2267
- http://yehg.net/lab/pr0js/advisories/%5BvTiger_5.2.1%5D_rce
- https://exchange.xforce.ibmcloud.com/vulnerabilities/34818 · WEB
- https://sourceforge.net/tracker/index.php?func=detail&aid=1734811&group_id=26031&atid=385707
- https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-6h78-85v2-mmch · WEB
- https://cxsecurity.com/issue/WLB-2007060063 · WEB
- https://github.com/PHPMailer/PHPMailer · PACKAGE
- https://seclists.org/fulldisclosure/2011/Oct/223 · WEB
- https://sourceforge.net/p/phpmailer/bugs/192 · WEB
- https://web.archive.org/web/20070714054359/http://larholm.com/2007/06/11/phpmailer-0day-remote-execution · WEB
- https://yehg.net/lab/pr0js/advisories/%5BvTiger_5.2.1%5D_rce · WEB
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Feb 2024)
- 25 Nov 2026 20:13 UTC · NVD: first stored (published 14 Jun 2007)