{"id":"CVE-2017-15806","aliases":["EUVD-2022-4148","GHSA-hgr8-g756-vmg9"],"status":"published","title":"Zeta Components Mail Arbitrary code execution via a crafted email address","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.\"","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.10652,"percentile":0.9583,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-94"],"published":"2017-11-15T16:00:00Z","modified":"2026-10-20T10:47:46Z","exploits":[{"source":"exploitdb","id":"EDB-43155","title":"Zeta Components Mail 1.8.1 - Remote Code Execution","type":"webapps","platform":"php","date":"2017-11-16","verified":true,"url":"https://www.exploit-db.com/exploits/43155"}],"fixes":[{"ecosystem":"Packagist","package":"zetacomponents/mail","fixed_in":["1.8.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"zetacomponents/mail","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"zetacomponents/mail","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.2"}]}],"versions":["1.1","1.1.1","1.1.2","1.1alpha1","1.1beta1","1.1beta2","1.1rc1","1.2","1.2beta1","1.2beta2","1.3","1.3beta2","1.3rc1","1.4","1.4.1","1.4.2","1.4.3","1.4alpha1","1.4alpha2","1.4beta1","1.4rc1","1.5","1.5.1","1.5.2","1.5alpha1","1.5beta1","1.5rc1","1.6","1.6.1","1.6.2","1.6.3","1.6alpha1","1.6beta1","1.6rc1","1.7","1.7alpha1","1.7beta1","1.7rc1","1.8","1.8.1","1.8beta1"]}],"products":[{"vendor":"zetacomponents","product":"mail"}],"references":[{"url":"https://www.exploit-db.com/exploits/43155/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Issue Tracking","Third Party Advisory","VDB Entry","report"]},{"url":"https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-critical-rce-vulnerability/","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-yuan-cheng-dai-ma-zhi-xing-lou-dong/","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/zetacomponents/Mail/issues/58","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/zetacomponents/Mail/releases/tag/1.8.2","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Release Notes","Third Party Advisory","report","web"]},{"url":"http://www.securityfocus.com/bid/101866","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-15806","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zetacomponents/mail/CVE-2017-15806.yaml","tags":["web"]},{"url":"https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-critical-rce-vulnerability","tags":["web"]},{"url":"https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-yuan-cheng-dai-ma-zhi-xing-lou-dong","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/43155","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hgr8-g756-vmg9"},{"url":"https://github.com/zetacomponents/Mail","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2017-15806","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.\"","status":"published","published":"2017-11-15T16:00:00Z","modified":"2024-08-05T20:04:50.35Z","updated_at":"2026-11-02T14:33:14.271248Z"}],"euvd":[{"id":"EUVD-2022-4148","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.\"","status":"published","published":"2017-11-15T16:00:00Z","modified":"2024-08-05T20:04:50Z","updated_at":"2026-11-03T02:23:13.410138Z"}],"ghsa":[{"id":"GHSA-hgr8-g756-vmg9","title":"Zeta Components Mail Arbitrary code execution via a crafted email address","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.\"","status":"published","published":"2022-05-17T00:18:44Z","modified":"2024-04-23T23:01:36Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:37:44.867253Z"}],"nvd":[{"id":"CVE-2017-15806","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.\"","status":"published","published":"2017-11-15T16:29:00.483Z","modified":"2026-06-17T01:08:18.23Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:04:08.635428Z"}],"osv":[{"id":"CVE-2017-15806","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.\"","status":"published","published":"2017-11-15T16:29:00.483Z","modified":"2026-10-20T10:47:46.421146847Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"GHSA-hgr8-g756-vmg9","title":"Zeta Components Mail Arbitrary code execution via a crafted email address","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.\"","status":"published","published":"2022-05-17T00:18:44Z","modified":"2024-04-23T23:26:47.356627Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:49.28217Z"}]}}
