GHSA-4j9x-g4x8-vcmf ZendFramework potential XML eXternal Entity injection vectors

Not scored Published

Attackers can exploit XXE vulnerabilities in Zend Framework feed parsers to read arbitrary files or initiate TCP connections via malicious XML feeds.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-4j9x-g4x8-vcmf?

GHSA-4j9x-g4x8-vcmf is a vulnerability in zendframework/zendframework1, published on 7 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Zend_Feed_Rss and Zend_Feed_Atom were found to contain potential XML eXternal Entity (XXE) vectors due to insecure usage of PHP's DOM extension. External entities could be specified by adding a specific DOCTYPE element to feeds; exploiting this vulnerability could coerce opening arbitrary files and/or TCP connections.

A similar issue was fixed for 1.11.13 and 1.12.0, in the Zend_Feed::import() factory method; however, the reporter of the issue discovered that the individual classes contained similar functionality in their constructors which remained vulnerable.

Which versions are affected by GHSA-4j9x-g4x8-vcmf?

4 open source packages ship an affected version, including zendframework/zendframework1.

PackageAffectedFixed in
zendframework/zendframework1 PackagistFrom 1.11.01.11.15
zendframework/zendframework1 PackagistFrom 1.11.01.11.15
zendframework/zendframework1 PackagistFrom 1.12.01.12.1
zendframework/zendframework1 PackagistFrom 1.12.01.12.1

How do I fix GHSA-4j9x-g4x8-vcmf?

Upgrade zendframework/zendframework1 to a fixed version for your release line: 1.11.15 or 1.12.1.

Is GHSA-4j9x-g4x8-vcmf being exploited?

There is no known exploitation of GHSA-4j9x-g4x8-vcmf in the wild and no public exploit code.

Sources

Is GHSA-4j9x-g4x8-vcmf in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free