Skip to content

Several Zend Products Vulnerable to XXE and XEE attacks

Moderate severity GitHub Reviewed Published May 14, 2022 to the GitHub Advisory Database • Updated Sep 25, 2023

Package

composer zendframework/zendframework1 (Composer)

Affected versions

< 1.12.4

Patched versions

1.12.4
composer zendframework/zendopenid (Composer)
< 2.0.2
2.0.2
composer zendframework/zendrest (Composer)
< 2.0.2
2.0.2
composer zendframework/zendservice-amazon (Composer)
< 2.0.3
2.0.3
composer zendframework/zendservice-api (Composer)
< 1.0.0
1.0.0
composer zendframework/zendservice-audioscrobbler (Composer)
< 2.0.2
2.0.2
composer zendframework/zendservice-nirvanix (Composer)
< 2.0.2
2.0.2
composer zendframework/zendservice-slideshare (Composer)
< 2.0.2
2.0.2
composer zendframework/zendservice-technorati (Composer)
< 2.0.2
2.0.2
composer zendframework/zendservice-windowsazure (Composer)
< 2.0.2
2.0.2

Description

Zend Framework 1 (ZF1) before 1.12.4, Zend Framework 2 before 2.1.6 and 2.2.x before 2.2.6, ZendOpenId, ZendRest, ZendService_AudioScrobbler, ZendService_Nirvanix, ZendService_SlideShare, ZendService_Technorati, and ZendService_WindowsAzure before 2.0.2, ZendService_Amazon before 2.0.3, and ZendService_Api before 1.0.0, when PHP-FPM is used, does not properly share the libxml_disable_entity_loader setting between threads, which might allow remote attackers to conduct XML External Entity (XXE) attacks via an XML external entity declaration in conjunction with an entity reference. NOTE: this issue exists because of an incomplete fix for CVE-2012-5657.

References

Published by the National Vulnerability Database Nov 16, 2014
Published to the GitHub Advisory Database May 14, 2022
Reviewed Sep 25, 2023
Last updated Sep 25, 2023

Severity

Moderate

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(82nd percentile)

Weaknesses

Improper Restriction of XML External Entity Reference

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. Learn more on MITRE.

Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities. Learn more on MITRE.

CVE ID

CVE-2014-2682

GHSA ID

GHSA-gp39-h9c2-qw79

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.