Vulnerability in libphp-phpmailer - security update
Summary
DSA-3416-1: libphp-phpmailer - security update. Affects libphp-phpmailer versions < 5.1-1.1. Fixed in 5.1-1.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
libphp-phpmailer is a PHP library used for email transfer, commonly employed by various Content Management Systems (CMSs). It provides functionality for sending emails and interacting with SMTP servers. However, a vulnerability has been discovered in this library that allows an attacker to inject malicious messages by exploiting the acceptance of email addresses and SMTP commands containing line breaks.
Vulnerability Detail
The vulnerability in libphp-phpmailer arises from its failure to properly validate and sanitize email addresses and SMTP commands that contain line breaks. This oversight enables an attacker to inject arbitrary messages into the email content, potentially leading to various malicious activities such as phishing, spamming, or the execution of arbitrary code on the recipient's system.
How To Fix
Minimum fixed version
5.1-1.1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade libphp-phpmailer
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. The recommended course of action is to apply the provided fix by upgrading the libphp-phpmailer package.
Conclusion
In conclusion, libphp-phpmailer is susceptible to a vulnerability that allows attackers to inject malicious messages into email content. To mitigate this risk, it is crucial to upgrade the libphp-phpmailer package to the fixed version. For further assistance or support in addressing this vulnerability, please contact DevNack.com.
See every vulnerability recorded for libphp-phpmailer →
FAQ
libphp-phpmailer is a PHP library used for email transfer, commonly employed by various Content Management Systems (CMSs). It provides functionality for sending emails and interacting with SMTP servers.
The vulnerability allows an attacker to inject arbitrary messages into the email content, potentially leading to various malicious activities such as phishing, spamming, or the execution of arbitrary code on the recipient's system.
To fix this vulnerability, it is recommended to upgrade the libphp-phpmailer package to the appropriate fixed version. Instructions for upgrading can be found in the official documentation of the respective distribution.
There is no specific workaround mentioned for this vulnerability. The recommended course of action is to apply the provided fix by upgrading the libphp-phpmailer package.
For more information about this vulnerability, you can refer to the official Debian Security Advisory DSA-3416-1.
Related vulnerabilities
Recent vulnerabilities recorded for libphp-phpmailer.