CVE-2007-3215
mediumpriority · track · 28EPSS 0.024 · 84 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-6h78-85v2-mmchPHPMailer Shell command injection2024-02-02ghsa · osvUS
PHPMailer before 1.7.4, when configured to use sendmail, allows remote attackers to execute arbitrary shell commands via shell metacharacters in the SendmailSend function in `class.phpmailer.php`. ### Impact Shell command injection, remotely exploitable if host application does not filter user data appropriately. ### Patches Fixed in 1.7.4 ### Workarounds Filter and validate user-supplied data before putting in the into the `Sender` property. ### References https://nvd.nist.gov/vuln/detail/CVE-2007-3215 ### For more information If you have any questions or comments about this advisory: * Open a private issue in [the PHPMailer project](https://github.com/PHPMailer/PHPMailer)
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (34)
External citations — patches, advisories, analysis.
- http://larholm.com/2007/06/11/phpmailer-0day-remote-execution/enisa_euvd
- http://osvdb.org/37206enisa_euvd
- http://osvdb.org/76139enisa_euvd
- http://seclists.org/fulldisclosure/2011/Oct/223enisa_euvd
- http://secunia.com/advisories/25626enisa_euvd
- http://secunia.com/advisories/25755enisa_euvd
- http://secunia.com/advisories/25758enisa_euvd
- http://securityreason.com/securityalert/2802enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan