Input validation error in Zend Framework - CVE-2015-5161

 

Input validation error in Zend Framework - CVE-2015-5161

Published: August 25, 2015 / Updated: August 9, 2020


Vulnerability identifier: #VU40663
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-5161
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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. <a href="http://cwe.mitre.org/data/definitions/611.html">CWE-611: Improper Restriction of XML External Entity Reference ('XXE')</a>


Affected software

Zend Framework
Fedora
php-ZendFramework2
php-guzzle-Guzzle

How to mitigate CVE-2015-5161

Install update from vendor's website.

php-ZendFramework2 - addressed in versions 2.4.7-1.fc21, 2.4.7-1.fc22, 2.4.7-1.fc23, 2.4.7-2.el7
php-guzzle-Guzzle - addressed in versions 3.9.3-5.el7, 3.9.3-5.fc21, 3.9.3-5.fc22, 3.9.3-5.fc23

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins