Vulnerability identifier: #VU54170
Vulnerability risk: Medium
CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-20
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
PHPMailer
Web applications /
Other software
Vendor: phpmailer.sourceforge.net
Description
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to insufficient validation of user-supplied input within the setLanguage()
method when processing the $lang_path
parameter on a Windows system. A remote attacker can pass specially crafted input to the application, set a UNC path via the affected parameter and execute arbitrary PHP code on the system.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
PHPMailer: 2.0.3 - 6.4.1
External links
http://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.0
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.