CVE-2017-15806
Zetacomponents Mail vulnerability
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
Mail. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Zetacomponents Mail runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.securityfocus.com/bid/101866 · Third Party Advisory
- github.com/zetacomponents/Mail/issues/58 · Third Party Advisory
- github.com/zetacomponents/Mail/releases/tag/1.8.2 · Third Party Advisory
- kay-malwarebenchmark.github.io/blog/cve-2017-15806-critical-rce-vulnerability/ · Third Party Advisory
- kay-malwarebenchmark.github.io/blog/cve-2017-15806-yuan-cheng-dai-ma-zhi-xing-lou-dong/ · Third Party Advisory
- www.exploit-db.com/exploits/43155/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-15806
- github.com/FriendsOfPHP/security-advisories/blob/master/zetacomponents/mail/CVE-2017-15806
- nvd.nist.gov/vuln/detail/CVE-2017-15806
- cve.org/CVERecord?id=CVE-2017-15806
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.