CVE-2015-5161
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.
What to do
Fixed builds are available from Packagist: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Packagist library | zendframework/zendframework | Fixed | 1.12.14 | GHSA-xp8p-9rq5-4wgv |
| Packagist library | zendframework/zendframework1 | Fixed | 1.12.14 | GHSA-xp8p-9rq5-4wgv |
| Packagist library | zendframework/zendxml | Fixed | 1.0.1 | GHSA-xp8p-9rq5-4wgv |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165173.html (vendor-advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165147.html (vendor-advisory)
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164409.html (vendor-advisory)
- http://www.debian.org/security/2015/dsa-3340 (vendor-advisory)
References
- http://packetstormsecurity.com/files/133068/Zend-Framework-2.4.2-1.12.13-XXE-Injection.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165173.html
- http://legalhackers.com/advisories/zend-framework-XXE-vuln.txt
- http://www.securityfocus.com/bid/76177
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165147.html
- https://www.exploit-db.com/exploits/37765/
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164409.html
- http://www.debian.org/security/2015/dsa-3340
- http://framework.zend.com/security/advisory/ZF2015-06
- http://seclists.org/fulldisclosure/2015/Aug/46
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.