CVE-2015-5161 json
ZendXml and Zend Framework contain XXE and XEE Vulnerabilities
published 2015-08-25 11 y ago modified 2026-06-17 4 mo ago also GHSA-xp8p-9rq5-4wgv , EUVD-2022-5834
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.9%
- EPSS 9.9% chance of exploitation in 30 days, percentile 95%
- public exploits
- 2
- Exploit-DB
Summary
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.
Patch / fix
- packagist zendframework/zendframework 1.12.14, 2.4.6, 2.5.2
- packagist zendframework/zendframework1 1.12.14
- packagist zendframework/zendxml 1.0.1
- php53 SLES 11 SP2-LTSS 5.3.17-47.1
suse advisories SUSE-SU-2016:1638-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-5161 updated cvss 6.8
php-ZendFramework: XML external entity injection (XXE) on PHP FPM
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-37765)
- Published
Exploit prediction
9.87% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-38573 eBay Magento 1.9.2.1 - PHP FPM XML eXternal Entity Injection webapps, 2015-10-30
- EDB-37765 Zend Framework 2.4.2 - PHP FPM XML eXternal Entity Injection webapps, 2015-08-13
- packetstormsecurity.com http://packetstormsecurity.com/files/133068/Zend-Framework-2.4.2-1.12.13-XXE-Injection.html referenced PoC, tagged "exploit" by a source, unverified
- legalhackers.com http://legalhackers.com/advisories/zend-framework-XXE-vuln.txt referenced PoC, tagged "exploit" by a source, unverified
- securityfocus.com http://www.securityfocus.com/bid/76177 referenced PoC, tagged "exploit" by a source, unverified
- seclists.org http://seclists.org/fulldisclosure/2015/Aug/46 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | zendframework/zendframework | >=2.0.0, <2.4.6 >=2.5.0, <2.5.2 >=1.12.0, <1.12.14 |
2.4.6 2.5.2 1.12.14 |
| packagist | zendframework/zendframework1 | >=1.12.0, <1.12.14 |
1.12.14 |
| packagist | zendframework/zendxml | >=1.0.0, <1.0.1 |
1.0.1 |
Classification
References
-
github.com
/zendframework/ZendXml/commit/79f478fa2af85ce1fc18ac132dee5aa714c3b532
web
-
github.com
/zendframework/zf1/commit/ff7edddf1410b44b5ead857c02698aad9f748d1b
web
-
exploit-db.com
/exploits/37765/
exploit
-
packetstormsecurity.com
/files/133068/Zend-Framework-2.4.2-1.12.13-XXE-Injection.html
web, exploit
-
legalhackers.com
/advisories/zend-framework-XXE-vuln.txt
web, exploit
-
securityfocus.com
/bid/76177
vdb-entry, web, exploit
-
seclists.org
/fulldisclosure/2015/Aug/46
mailing-list, web, exploit
-
lists.fedoraproject.org
/pipermail/package-announce/2015-August/165173.html
vendor-advisory, web
-
lists.fedoraproject.org
/pipermail/package-announce/2015-August/165147.html
vendor-advisory, web
-
lists.fedoraproject.org
/pipermail/package-announce/2015-August/164409.html
vendor-advisory, web
-
debian.org
/security/2015/dsa-3340
vendor-advisory, web
-
framework.zend.com
/security/advisory/ZF2015-06
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2015-5161
advisory
-
github.com
/zendframework/zf1/issues/393
web
-
framework.zend.com
/security/advisory/ZF2015-06
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/CVE-2015-5161.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/CVE-2015-5161.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/zendframework/zendxml/CVE-2015-5161.yaml
web
-
web.archive.org
/web/20200228055156/http://www.securityfocus.com/bid/76177
web
-
exploit-db.com
/exploits/37765
web
Sources
- CVE List CVE-2015-5161
- GitHub Advisory GHSA-xp8p-9rq5-4wgv
- NVD CVE-2015-5161
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.