CVE-2020-13625 Insufficient output escaping of attachment names in PHPMailer
An output escaping bug in PHPMailer allows file attachment names with double quotes to cause misinterpretation of file types by mail relays or receivers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-13625?
CVE-2020-13625 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 8 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
PHPMailer before 6.1.6 contains an output escaping bug when the name of a file attachment contains a double quote character. This can result in the file type being misinterpreted by the receiver or any mail relay processing the message.
Weakness: CWE-116
Which versions are affected by CVE-2020-13625?
3 open source packages ship an affected version, including phpmailer/phpmailer and phpmailer. It affects 4 products.
| Package | Affected | Fixed in |
|---|---|---|
phpmailer/phpmailer Packagist | All versions | 6.1.6 |
phpmailer/phpmailer Packagist | All versions | 6.1.6 |
phpmailer Bitnami | All versions | 6.1.6 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Phpmailer Project Phpmailer.
How do I fix CVE-2020-13625?
Upgrade phpmailer/phpmailer to 6.1.6 or later.
Is CVE-2020-13625 being exploited?
There is no known exploitation of CVE-2020-13625 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as BIT-phpmailer-2020-13625, DEBIAN-CVE-2020-13625, DLA-2244-1, DLA-2306-1, GHSA-f7hx-fqxw-rvvj, MGASA-2020-0313 and 2 more.