PHPMailer susceptible to arbitrary code execution
Date: 2022-05
Affected: composer/phpmailer/phpmailer
Attack vector: rce
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2008-5619
CWE: CWE-94

html2text.php in Chuggnutt HTML to Text Converter, as used in PHPMailer before 5.2.10, RoundCube Webmail (roundcubemail) 0.2-1.alpha and 0.2-3.beta, Mahara, and AtMail Open 1.03, allows remote attackers to execute arbitrary code via crafted input that is processed by the preg_replace function with the eval switch.


Mitigations:

Architectural layers (MAESTRO):