Arbitrary Code Execution Vulnerability in PHPMailer (CVE-2017-5223)

Arbitrary Code Execution Vulnerability in PHPMailer (CVE-2017-5223)

CVE-2016-10045 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Api Penetration Testing.