FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

Zend Framework -- Multiple vulnerabilities via XXE injection

Affected packages
ZendFramework < 1.11.13
magento < 1.7.0.2

Details

VuXML ID ec34d0c2-1799-11e2-b4ab-000c29033c32
Discovery 2012-06-26
Entry 2012-10-16
Modified 2015-10-14

The Zend Framework team reports:

The XmlRpc package of Zend Framework is vulnerable to XML eXternal Entity Injection attacks (both server and client). The SimpleXMLElement class (SimpleXML PHP extension) is used in an insecure way to parse XML data. External entities can be specified by adding a specific DOCTYPE element to XML-RPC requests. By exploiting this vulnerability an application may be coerced to open arbitrary files and/or TCP connections.

Additionally, the Zend_Dom, Zend_Feed, Zend_Soap, and Zend_XmlRpc components are vulnerable to XML Entity Expansion (XEE) vectors, leading to Denial of Service vectors. XEE attacks occur when the XML DOCTYPE declaration includes XML entity definitions that contain either recursive or circular references; this leads to CPU and memory consumption, making Denial of Service exploits trivial to implement.

References

CVE Name CVE-2012-3363
URL http://framework.zend.com/security/advisory/ZF2012-01
URL http://framework.zend.com/security/advisory/ZF2012-02
URL http://www.magentocommerce.com/download/release_notes
URL http://www.openwall.com/lists/oss-security/2012/06/26/2
URL https://secunia.com/advisories/49665/
URL https://www.sec-consult.com/files/20120626-0_zend_framework_xxe_injection.txt