{"id":"GHSA-xp8p-9rq5-4wgv","summary":"ZendXml and Zend Framework contain XXE and XEE Vulnerabilities","details":"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.","aliases":["CVE-2015-5161"],"modified":"2024-12-04T05:40:31.935654Z","published":"2022-05-17T03:16:37Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-08-03T21:53:46Z","nvd_published_at":"2015-08-25T17:59:00Z","cwe_ids":["CWE-611","CWE-776"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5161"},{"type":"WEB","url":"https://github.com/zendframework/zf1/issues/393"},{"type":"WEB","url":"https://github.com/zendframework/ZendXml/commit/79f478fa2af85ce1fc18ac132dee5aa714c3b532"},{"type":"WEB","url":"https://github.com/zendframework/zf1/commit/ff7edddf1410b44b5ead857c02698aad9f748d1b"},{"type":"WEB","url":"https://framework.zend.com/security/advisory/ZF2015-06"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/CVE-2015-5161.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/CVE-2015-5161.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendxml/CVE-2015-5161.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200228055156/http://www.securityfocus.com/bid/76177"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/37765"},{"type":"WEB","url":"http://framework.zend.com/security/advisory/ZF2015-06"},{"type":"WEB","url":"http://legalhackers.com/advisories/zend-framework-XXE-vuln.txt"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164409.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165147.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165173.html"},{"type":"WEB","url":"http://packetstormsecurity.com/files/133068/Zend-Framework-2.4.2-1.12.13-XXE-Injection.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2015/Aug/46"},{"type":"WEB","url":"http://www.debian.org/security/2015/dsa-3340"},{"type":"WEB","url":"http://www.securityfocus.com/bid/76177"}],"affected":[{"package":{"name":"zendframework/zendframework","ecosystem":"Packagist","purl":"pkg:composer/zendframework/zendframework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.4.6"}]}],"versions":["2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.2.0","2.2.0rc1","2.2.0rc2","2.2.0rc3","2.2.1","2.2.10","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","2.4.0rc1","2.4.0rc2","2.4.0rc3","2.4.0rc4","2.4.0rc5","2.4.0rc6","2.4.0rc7","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xp8p-9rq5-4wgv/GHSA-xp8p-9rq5-4wgv.json"}},{"package":{"name":"zendframework/zendframework","ecosystem":"Packagist","purl":"pkg:composer/zendframework/zendframework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.2"}]}],"versions":["2.5.0","2.5.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xp8p-9rq5-4wgv/GHSA-xp8p-9rq5-4wgv.json"}},{"package":{"name":"zendframework/zendframework1","ecosystem":"Packagist","purl":"pkg:composer/zendframework/zendframework1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.12.0"},{"fixed":"1.12.14"}]}],"versions":["1.12.0","1.12.1","1.12.10","1.12.11","1.12.12","1.12.13","1.12.2","1.12.3","1.12.4","1.12.5","1.12.6","1.12.7","1.12.8","1.12.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xp8p-9rq5-4wgv/GHSA-xp8p-9rq5-4wgv.json"}},{"package":{"name":"zendframework/zendxml","ecosystem":"Packagist","purl":"pkg:composer/zendframework/zendxml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.0.1"}]}],"versions":["1.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xp8p-9rq5-4wgv/GHSA-xp8p-9rq5-4wgv.json"}},{"package":{"name":"zendframework/zendframework","ecosystem":"Packagist","purl":"pkg:composer/zendframework/zendframework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.12.0"},{"fixed":"1.12.14"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xp8p-9rq5-4wgv/GHSA-xp8p-9rq5-4wgv.json"}}],"schema_version":"1.9.0"}