FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

phpmailer -- Remote Code Execution

Affected packages
phpmailer < 5.2.20
tt-rss < 29.12.2016.04.37

Details

VuXML ID 3c4693de-ccf7-11e6-a9a5-b499baebfeaf
Discovery 2016-12-28
Entry 2016-12-28

Legal Hackers reports:

An independent research uncovered a critical vulnerability in PHPMailer that could potentially be used by (unauthenticated) remote attackers to achieve remote arbitrary code execution in the context of the web server user and remotely compromise the target web application.

To exploit the vulnerability an attacker could target common website components such as contact/feedback forms, registration forms, password email resets and others that send out emails with the help of a vulnerable version of the PHPMailer class.

The first patch of the vulnerability CVE-2016-10033 was incomplete. This advisory demonstrates the bypass of the patch. The bypass allows to carry out Remote Code Execution on all current versions (including 5.2.19).

References

CVE Name CVE-2016-10045
URL https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html