zetacomponents/mail · Security
Zeta Components Mail Arbitrary code execution via a crafted email address
- GHSA ID
- GHSA-hgr8-g756-vmg9
- CVE ID
- CVE-2017-15806
- Severity
- high
- Published
- Updated
- CVSS
- 8.1 · CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.1 · CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
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."
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-15806 ↗
- https://github.com/zetacomponents/Mail/issues/58 ↗
- https://github.com/zetacomponents/Mail/releases/tag/1.8.2 ↗
- http://www.securityfocus.com/bid/101866 ↗
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zetacomponents/mail/CVE-2017-15806.yaml ↗
- 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 ↗
- https://github.com/advisories/GHSA-hgr8-g756-vmg9 ↗