Description
Zend_XmlRpc in Zend Framework 1.x before 1.11.12 and 1.12.x before 1.12.0 does not properly handle SimpleXMLElement classes, which allows remote attackers to read arbitrary files or create TCP connections via an external entity reference in a DOCTYPE element in an XML-RPC request, aka an XML external entity (XXE) injection attack.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | zendframework | 1.10.6-1squeeze1 | DSA-2505-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | zend-framework | No fix yet | — |
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.
Exploit-DB 1
- Zend Framework < 2.0.0 beta4 < 1.12 RC1 < 1.11.11 - Local File Disclosure EDB-19408 · webapps · Jun 27, 2012
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | zendframework/zendframework1 | >= 1.0.0, < 1.11.12 | 1.11.12 | GHSA-7pg4-5233-82jv |
| Packagist | zendframework/zendframework1 | >= 1.12.0-rc1, < 1.12.0 | 1.12.0 | GHSA-7pg4-5233-82jv |
Advisories 1
- DSA-2505-1 zendframework - information disclosure Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://moodle.org/mod/forum/discuss.php?d=225345
- FEDORA-2013-4387 vendor-advisory
- [oss-security] 20120627 Re: XXE in Zend mailing-list
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-34284
- DSA-2505 vendor-advisory
- [oss-security] 20120626 Re: XXE in Zend mailing-list
- FEDORA-2013-4404 vendor-advisory
- [oss-security] 20120626 XXE in Zend mailing-list
- [oss-security] 20130325 Moodle security notifications public mailing-list
- 1027208 vdb-entry
- http://framework.zend.com/security/advisory/ZF2012-01
- https://www.sec-consult.com/files/20120626-0_zend_framework_xxe_injection.txt