CVE-2017-15806 in the critical feed json
Zeta Components Mail Arbitrary code execution via a crafted email address
published 2017-11-15 8 y ago modified 2026-06-17 4 mo ago also GHSA-hgr8-g756-vmg9 , EUVD-2022-4148
- cvss
- 8.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.7%
- EPSS 10.7% chance of exploitation in 30 days, percentile 95%
- public exploits
- 1
- Exploit-DB
Summary
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."
Patch / fix
- packagist zetacomponents/mail 1.8.2
- zetacomponents mail 1.8.2
Timeline
- Published
- First public exploit (EDB-43155)
Exploit prediction
10.65% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-43155 Zeta Components Mail 1.8.1 - Remote Code Execution webapps, 2017-11-16
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | zetacomponents/mail | <1.8.2 |
1.8.2 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
exploit-db.com
/exploits/43155/
exploit, issue-tracking, third-party-advisory, vdb-entry
-
kay-malwarebenchmark.github.io
/blog/cve-2017-15806-critical-rce-vulnerability/
issue-tracking, third-party-advisory
-
kay-malwarebenchmark.github.io
/blog/cve-2017-15806-yuan-cheng-dai-ma-zhi-xing-lou-dong/
issue-tracking, third-party-advisory
-
github.com
/zetacomponents/Mail/issues/58
web, issue-tracking, third-party-advisory
-
github.com
/zetacomponents/Mail/releases/tag/1.8.2
web, issue-tracking, release-notes, third-party-advisory
-
securityfocus.com
/bid/101866
vdb-entry, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-15806
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/zetacomponents/mail/CVE-2017-15806.yaml
web
-
github.com
/zetacomponents/Mail
package
-
kay-malwarebenchmark.github.io
/blog/cve-2017-15806-critical-rce-vulnerability
web
-
kay-malwarebenchmark.github.io
/blog/cve-2017-15806-yuan-cheng-dai-ma-zhi-xing-lou-dong
web
-
exploit-db.com
/exploits/43155
web
Sources
- CVE List CVE-2017-15806
- GitHub Advisory GHSA-hgr8-g756-vmg9
- NVD CVE-2017-15806
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.