Skip to content
OpenAdvisories
Medium Public exploit CVE-2015-5161 EUVD-2022-5834GHSA-xp8p-9rq5-4wgv

ZendXml and Zend Framework contain XXE and XEE Vulnerabilities

Published Aug 25, 2015 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 8 zendframework 1.12.9+dfsg-2+deb8u3 DSA-3340-1
Debian 7 zendframework 1.11.13-1.1+deb7u3 DSA-3340-1
Debian 6.0 zendframework 1.10.6-1squeeze5 DLA-302-1
ReleasePackageFixed inAdvisory
SLES 11 SP2 php53 5.3.17-47.1 SUSE-SU-2016:1638-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist zendframework/zendframework >= 2.0.0, < 2.4.6 2.4.6 GHSA-xp8p-9rq5-4wgv
Packagist zendframework/zendframework >= 2.5.0, < 2.5.2 2.5.2 GHSA-xp8p-9rq5-4wgv
Packagist zendframework/zendframework >= 1.12.0, < 1.12.14 1.12.14 GHSA-xp8p-9rq5-4wgv
Packagist zendframework/zendframework1 >= 1.12.0, < 1.12.14 1.12.14 GHSA-xp8p-9rq5-4wgv
Packagist zendframework/zendxml >= 1.0.0, < 1.0.1 1.0.1 GHSA-xp8p-9rq5-4wgv

Advisories 3

References