Name | CVE-2016-10045 |
Description | The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libphp-phpmailer (PTS) | jessie, jessie (lts) | 5.2.9+dfsg-2+deb8u6 | fixed |
| stretch (security), stretch (lts), stretch | 5.2.14+dfsg-2.3+deb9u2 | fixed |
| buster | 6.0.6-0.1 | fixed |
| bullseye | 6.2.0-2 | fixed |
| bookworm | 6.6.3-1 | fixed |
| sid, trixie | 6.9.1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libphp-phpmailer | source | (unstable) | (not affected) | | | |
Notes
- libphp-phpmailer <not-affected> (Incomplete fix not applied)
https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html