Zend Framework XEE Vulnerability
Published 17 May 2022 · Updated 12 Jan 2024
Affected packages
- Affected
- >=1.0 <1.11.13
- Fixed in
- 1.11.13
composer require zendframework/zendframework1:^1.11.13- Affected
- >=1.12.0-rc1 <1.12.0
- Fixed in
- 1.12.0
composer require zendframework/zendframework1:^1.12.0Details
(1) Zend_Dom, (2) Zend_Feed, and (3) Zend_Soap in Zend Framework 1.x before 1.11.13 and 1.12.x before 1.12.0 do not properly handle SimpleXMLElement classes, which allow remote attackers to read arbitrary files or create TCP connections via an external entity reference in a DOCTYPE element in an XML-RPC request, aka an XML external entity (XXE) injection attack, a different vulnerability than CVE-2012-3363.
Is GHSA-h5p3-7mg6-hgj4 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected zendframework/zendframework1, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2012-6531
- Linkgithub.com/zendframework/zf1/commit/1b5e86183a72b7b10b6c89e4f95f08c5da9716db
- Packagegithub.com/zendframework/zf1
- Linkwww.sec-consult.com/files/20120626-0_zend_framework_xxe_injection.txt
- Linkframework.zend.com/security/advisory/ZF2012-01
- Linkwww.debian.org/security/2012/dsa-2505
- Linkwww.openwall.com/lists/oss-security/2012/06/26/2
- Linkwww.openwall.com/lists/oss-security/2012/06/26/4
- Linkwww.openwall.com/lists/oss-security/2012/06/27/2
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.