phpmailer: Remote Code Execution (CVE-2016-10033, CVE-2016-10045)
CVE-2016-10033:
The mailSend function in the isMail transport in PHPMailer before
5.2.18, when the Sender property is not set,
might allow remote attackers to pass extra parameters to the mail
command and consequently execute arbitrary
code via a \" (backslash double quote) in a crafted From address.
Fixed In Version:
phpmailer 5.2.18
Reference:
http://seclists.org/oss-sec/2016/q4/750
CVE-2016-10045:
The isMail transport in PHPMailer before 5.2.20, when the Sender
property is not set, 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. NOTE: this
vulnerability exists because of an incorrect fix for CVE-2016-10033.
Fixed in Version:
phpmailer 5.2.20
Reference:
(from redmine: issue id 6622, created on 2017-01-04, closed on 2017-01-23)
- Relations:
- child #6623 (closed)
- child #6624 (closed)
- child #6625 (closed)
- child #6626 (closed)