PHPMailer < 5.2.20 - Remote Code Execution
by CIRT Team
Description:
CVE-2016-10033: The mailSend function in the isMail transport in PHPMailer before 5.2.18 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 Sender property.
CVE-2016-10045: 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.
Impact: An attacker can exploit this issue to execute arbitrary code within the context of the application. Failed exploit attempts will result in a denial-of-service condition.
Mitigation: Vendor has released patch version.
Reference URL’s:
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10033
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10045
- http://www.securityfocus.com/bid/95108/info
- https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md
Recommended Posts
Active Exploitation of Critical F5 BIG – IP Vulnerability (CVE–2023-46747) Uncovered in Bangladesh
06 Nov 2024 - Security Advisories & Alerts