HIGH
GHSA-v5c9-mmw9-829q
PHPMailer susceptible to arbitrary code execution
Quick fix
GHSA-v5c9-mmw9-829q — phpmailer/phpmailer: upgrade to the fixed version with the command below.
composer require phpmailer/phpmailer:^5.2.10Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/phpmailer/phpmailer
Introduced in:
0Fixed in: 5.2.10Fix
composer require phpmailer/phpmailer:^5.2.10References
- https://nvd.nist.gov/vuln/detail/CVE-2008-5619[ADVISORY]
- https://github.com/PHPMailer/PHPMailer/commit/8beacc646acb67c995aea10ac5585970efc7355a[WEB]
- https://github.com/PHPMailer/PHPMailer[WEB]
- https://www.exploit-db.com/exploits/7549[WEB]
- https://www.exploit-db.com/exploits/7553[WEB]
- https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00783.html[WEB]
- https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00802.html[WEB]
- http://mahara.org/interaction/forum/topic.php?id=533[WEB]
- http://osvdb.org/53893[WEB]
- http://sourceforge.net/forum/forum.php?forum_id=898542[WEB]
- http://trac.roundcube.net/changeset/2148[WEB]
- http://trac.roundcube.net/ticket/1485618[WEB]
- http://www.openwall.com/lists/oss-security/2008/12/12/1[WEB]