{"id":"CVE-2015-5161","published":"2015-08-25T17:00:00Z","modified":"2024-08-06T06:41:07Z","title":"The Zend_Xml_Security::scan in ZendXml before 1.0.1 and Zend Framework before 1.12.14, 2.x before 2.4.6, and 2.5.x…","vendor":null,"product":null,"tier":"tail","description":{"text":"The Zend_Xml_Security::scan in ZendXml before 1.0.1 and Zend Framework before 1.12.14, 2.x before 2.4.6, and 2.5.x before 2.5.2, when running under PHP-FPM in a threaded environment, allows remote attackers to bypass security checks and conduct XML external entity (XXE) and XML entity expansion (XEE) attacks via multibyte encoded characters.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.09867,"percentile":0.9555,"provenance":"source"},"cwes":[],"references":[{"url":"http://packetstormsecurity.com/files/133068/Zend-Framework-2.4.2-1.12.13-XXE-Injection.html","tags":["x_refsource_MISC"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165173.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://legalhackers.com/advisories/zend-framework-XXE-vuln.txt","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/76177","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165147.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.exploit-db.com/exploits/37765/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164409.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.debian.org/security/2015/dsa-3340","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://framework.zend.com/security/advisory/ZF2015-06","tags":["x_refsource_CONFIRM"]},{"url":"http://seclists.org/fulldisclosure/2015/Aug/46","tags":["mailing-list","x_refsource_FULLDISC"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":19.11},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2015-08-13"},"first":{"date":"2015-08-13","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/37765"},"provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"zendframework/zendframework","vulnerableRanges":[">=2.0.0, <2.4.6",">=2.5.0, <2.5.2",">=1.12.0, <1.12.14"],"patched":["2.4.6","2.5.2","1.12.14"],"from":["GHSA-xp8p-9rq5-4wgv"],"provenance":"source"},{"ecosystem":"Packagist","package":"zendframework/zendframework1","vulnerableRanges":[">=1.12.0, <1.12.14"],"patched":["1.12.14"],"from":["GHSA-xp8p-9rq5-4wgv"],"provenance":"source"},{"ecosystem":"Packagist","package":"zendframework/zendxml","vulnerableRanges":[">=1.0.0, <1.0.1"],"patched":["1.0.1"],"from":["GHSA-xp8p-9rq5-4wgv"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-5834","exploited":false,"provenance":"source"},"exploits":[{"id":37765,"url":"https://www.exploit-db.com/exploits/37765","title":"Zend Framework 2.4.2 - PHP FPM XML eXternal Entity Injection","date":"2015-08-13","verified":false,"provenance":"source"},{"id":38573,"url":"https://www.exploit-db.com/exploits/38573","title":"eBay Magento 1.9.2.1 - PHP FPM XML eXternal Entity Injection","date":"2015-10-30","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/37765/","http://packetstormsecurity.com/files/133068/Zend-Framework-2.4.2-1.12.13-XXE-Injection.html","https://www.exploit-db.com/exploits/37765"],"lineage":{"familyId":"fam-zendframework-zendframework1-cve-2012-3363","parents":[{"from":"CVE-2012-3363","to":"CVE-2015-5161","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["library/Zend/XmlRpc/Request.php","library/Zend/XmlRpc/Response.php"],"commits":["https://github.com/zendframework/zf1/commit/281a3251d71ed40a5289ec4afc355eea8e014dc5","https://github.com/zendframework/zf1/commit/ff7edddf1410b44b5ead857c02698aad9f748d1b"],"basis":"shared function","functions":["loadXml"]}]},{"from":"CVE-2012-6531","to":"CVE-2015-5161","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["library/Zend/Dom/Query.php","library/Zend/Feed/Reader.php","library/Zend/Serializer/Adapter/Wddx.php","library/Zend/Soap/Server.php","library/Zend/Soap/Wsdl.php"],"commits":["https://github.com/zendframework/zf1/commit/1b5e86183a72b7b10b6c89e4f95f08c5da9716db","https://github.com/zendframework/zf1/commit/ff7edddf1410b44b5ead857c02698aad9f748d1b"],"basis":"shared function","functions":["__construct","_setRequest","detectType","importFeed","loadXml"]}]},{"from":"CVE-2012-6532","to":"CVE-2015-5161","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["library/Zend/Dom/Query.php","library/Zend/Feed/Reader.php","library/Zend/Serializer/Adapter/Wddx.php","library/Zend/Soap/Server.php","library/Zend/Soap/Wsdl.php"],"commits":["https://github.com/zendframework/zf1/commit/1b5e86183a72b7b10b6c89e4f95f08c5da9716db","https://github.com/zendframework/zf1/commit/ff7edddf1410b44b5ead857c02698aad9f748d1b"],"basis":"shared function","functions":["__construct","_setRequest","detectType","importFeed","loadXml"]}]},{"from":"CVE-2012-5657","to":"CVE-2015-5161","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["library/Zend/Feed.php","library/Zend/Feed/Abstract.php"],"commits":["https://github.com/zendframework/zf1/commit/15c84914f063efea49ea1c4425459a792cc185ea","https://github.com/zendframework/zf1/commit/ff7edddf1410b44b5ead857c02698aad9f748d1b"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2015-5161","to":"CVE-2015-8866","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…ach thread from libxml_disable_entity_loader changes in other threads, which allows remote attackers to conduct XML External Entity (XXE) and XML Entity Expansion (XEE) attacks via a crafted XML document, a related issue to CVE-2015-5161.","from":"CVE.org","in":"CVE-2015-8866"}]}],"packageHistory":[{"cve":"CVE-2016-6233","published":"2017-02-16","fixed":"1.12.19","kev":false,"link":{"from":"CVE-2015-5161","to":"CVE-2016-6233","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:zendframework/zendframework","fromFixed":"1.12.14","toFixed":"1.12.19","daysApart":541}]}},{"cve":"CVE-2015-1786","published":"2017-06-08","fixed":"2.3.6","kev":false},{"cve":"CVE-2015-3154","published":"2020-01-27","fixed":"2.4.1","kev":false},{"cve":"CVE-2015-5723","published":"2016-06-07","fixed":"2.4.8","kev":false,"link":{"from":"CVE-2015-5161","to":"CVE-2015-5723","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:zendframework/zendframework","fromFixed":"2.4.6","toFixed":"2.4.8","daysApart":287},{"kind":"version-step","provenance":"source","package":"Packagist:zendframework/zendframework1","fromFixed":"1.12.14","toFixed":"1.12.16","daysApart":287}]}},{"cve":"CVE-2015-5161","published":"2015-08-25","fixed":"2.5.2","kev":false},{"cve":"CVE-2015-7503","published":"2017-10-10","fixed":"2.5.2","kev":false}],"package":"Packagist:zendframework/zendframework"}}