{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-15806","id":"CVE-2017-15806","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.\"","descriptionLong":"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.\"","published":"2017-11-15T16:00:00.000Z","updated":"2026-10-20T10:47:46.421146847Z","reserved":"2017-10-23T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"high","source":"NVD"},"metrics":[{"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","rating":"high","source":"NVD"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"zetacomponents/mail","purl":"pkg:composer/zetacomponents/mail","ranges":["<1.8.2"],"fixed":["1.8.2"],"advisory":"GHSA-hgr8-g756-vmg9"}],"cwes":["CWE-94"],"aliases":["GHSA-hgr8-g756-vmg9"],"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://github.com/zetacomponents/Mail","tags":["package"]},{"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"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.10652,"epssPercentile":0.95892,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-15806","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-15806","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-15806","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hgr8-g756-vmg9","ok":true,"note":"GHSA-hgr8-g756-vmg9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-15806","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["EPSS 11% with CVSS 8.1"],"attention":null}