MediumGHSA-h5p3-7mg6-hgj4CVE-2012-6531

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
Update to the fixed version for your release line, for example:composer require zendframework/zendframework1:^1.11.13
Affected
>=1.12.0-rc1 <1.12.0
Fixed in
1.12.0
Update to the fixed version for your release line, for example:composer require zendframework/zendframework1:^1.12.0

Details

(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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.