What’s Vulnerable › Vulnerabilities
CVE-2017-15806
- Severity: high (CVSS 8.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 10.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2017-11-15 · updated 2026-06-17
- Weakness: CWE-94
Description
The send function in the ezcMailMtaTransport class in Zeta Components Mail before 1.8.2 does not properly restrict the set of characters used in the ezcMail returnPath property, which might allow remote attackers to execute arbitrary code via a crafted email address, as demonstrated by one containing "-X/path/to/wwwroot/file.php."
Affected products
- Zetacomponents Mail: before 1.8.2 — fixed in 1.8.2
How to fix
Upgrade to a fixed version: Zetacomponents Mail 1.8.2. Check the vendor advisory for mitigations.
References
- http://www.securityfocus.com/bid/101866
- https://github.com/zetacomponents/Mail/issues/58
- https://github.com/zetacomponents/Mail/releases/tag/1.8.2
- https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-critical-rce-vulnerability/
- https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-yuan-cheng-dai-ma-zhi-xing-lou-dong/
- https://www.exploit-db.com/exploits/43155/
- http://www.securityfocus.com/bid/101866
- https://github.com/zetacomponents/Mail/issues/58
- https://github.com/zetacomponents/Mail/releases/tag/1.8.2
- https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-critical-rce-vulnerability/
- https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-yuan-cheng-dai-ma-zhi-xing-lou-dong/
- https://www.exploit-db.com/exploits/43155/
Get alerted when CVE-2017-15806 or the next vulnerability affects your stack