Skip to content

ZendXml and Zend Framework contain XXE and XEE Vulnerabilities

Moderate severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Feb 7, 2024

Package

composer zendframework/zendframework (Composer)

Affected versions

>= 2.0.0, < 2.4.6
>= 2.5.0, < 2.5.2
>= 1.12.0, < 1.12.14

Patched versions

2.4.6
2.5.2
1.12.14
composer zendframework/zendframework1 (Composer)
>= 1.12.0, < 1.12.14
1.12.14
composer zendframework/zendxml (Composer)
>= 1.0.0, < 1.0.1
1.0.1

Description

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.

References

Published by the National Vulnerability Database Aug 25, 2015
Published to the GitHub Advisory Database May 17, 2022
Reviewed Aug 3, 2023
Last updated Feb 7, 2024

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.
(97th 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-2015-5161

GHSA ID

GHSA-xp8p-9rq5-4wgv

Source code

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