CVE-2015-5161: XXE/XEE vector when using ZendXml on multibyte payloads
The ZendXmlSecurity::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.
Other sources
The ZendXmlSecurity::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.
XXE/XEE vector when using ZendXml on multibyte payloads
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/zendframework/zendframeworkto a version that resolves this vulnerability.Fixed in 1.12.14 - Upgrade
Upgrade
composer/zendframework/zendxmlto a version that resolves this vulnerability.Fixed in 1.0.1 - Upgrade
Upgrade
composer/zendframework/zendframework1to a version that resolves this vulnerability.Fixed in 1.12.14 - Upgrade
Upgrade
composer/zendframework/zendframeworkto a version that resolves this vulnerability.Fixed in 2.5.2 - Upgrade
Upgrade
composer/zendframework/zendframeworkto a version that resolves this vulnerability.Fixed in 2.4.6 - Upgrade
Upgrade
composer/zendframework/zendframeworkto a version that resolves this vulnerability.Fixed in 2.0.99 - Upgrade
Upgrade
composer/zendframework/zendframeworkto a version that resolves this vulnerability.Fixed in 2.1.99 - Upgrade
Upgrade
composer/zendframework/zendframeworkto a version that resolves this vulnerability.Fixed in 2.2.99 - Upgrade
Upgrade
composer/zendframework/zendframeworkto a version that resolves this vulnerability.Fixed in 2.3.8 - Upgrade
Upgrade
composer/zendframework/zendframeworkto a version that resolves this vulnerability.Fixed in 2.5.1
Event History
Frequently Asked Questions
What is the severity of CVE-2015-5161?
CVE-2015-5161 has a medium severity rating as it allows remote attackers to conduct XML external entity (XXE) attacks.
How do I fix CVE-2015-5161?
To fix CVE-2015-5161, upgrade to Zend Framework versions 1.12.14, 2.4.6, or 2.5.2 or later.
What causes CVE-2015-5161?
CVE-2015-5161 is caused by improper security checks in the Zend_Xml_Security::scan function under specific thread configurations.
What are the affected versions for CVE-2015-5161?
CVE-2015-5161 affects Zend Framework versions prior to 1.12.14 and 2.x versions before 2.4.6 and 2.5.2.
Who is impacted by CVE-2015-5161?
Any applications using vulnerable versions of Zend Framework or ZendXml are at risk of exploitation via CVE-2015-5161.