CVE-2012-3363: Zendframework/zendframework1 Zend Framework XXE Vulnerability Vulnerability
HIGHCVE-2012-3363 is a HIGH (CVSS 7.3) zend framework xxe vulnerability vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Zendframework/zendframework1 libraries in the Packagist ecosystem. The issue involves zend framework xxe vulnerability. Remediation is available by upgrading affected packages to version 1.11.12, 1.12.0.
CVE-2012-3363 at a Glance
Security Impact
CVSS: 7.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2012-3363
To remediate this vulnerability, upgrade all affected Zendframework/zendframework1 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade zendframework/zendframework1 to 1.11.12
Upgrade zendframework/zendframework1 to 1.12.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for zendframework/zendframework1
How to Check if You Are Affected
To determine whether your application is affected by CVE-2012-3363, inspect your project dependencies for Zendframework/zendframework1:
inspect dependencies for zendframework/zendframework1
Analyze the terminal output to locate any version of Zendframework/zendframework1 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.12), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Zendframework/zendframework1, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2012-3363 Affected Zendframework/zendframework1 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
zendframework/zendframework1
|
Packagist |
≥ 1.0.0
< 1.11.12
|
1.11.12
|
|
zendframework/zendframework1
|
Packagist |
≥ 1.12.0-rc1
< 1.12.0
|
1.12.0
|
References
Frequently Asked Questions
What is CVE-2012-3363?
Which Zendframework/zendframework1 versions are affected?
What version fixes CVE-2012-3363?
Is zendframework/zendframework1 affected?
What is the CVSS score of CVE-2012-3363?
What CWE is associated with CVE-2012-3363?
How can I check Packagist dependencies for CVE-2012-3363?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7pg4-5233-82jv",
"modified" : "2024-04-09T14:07:57Z",
"published" : "2022-05-17T04:56:50Z",
"aliases" : [ "CVE-2012-3363" ],
"summary" : "Zend Framework XXE Vulnerability",
"details" : "`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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "zendframework/zendframework1"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.11.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "zendframework/zendframework1"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.12.0-rc1"
}, {
"fixed" : "1.12.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-3363"
}, {
"type" : "WEB",
"url" : "https://github.com/zendframework/zf1/commit/281a3251d71ed40a5289ec4afc355eea8e014dc5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/zendframework/zf1"
}, {
"type" : "WEB",
"url" : "https://moodle.org/mod/forum/discuss.php?d=225345"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20170223044943/http://www.securitytracker.com/id?1027208"
}, {
"type" : "WEB",
"url" : "https://www.sec-consult.com/files/20120626-0_zend_framework_xxe_injection.txt"
}, {
"type" : "WEB",
"url" : "http://framework.zend.com/security/advisory/ZF2012-01"
}, {
"type" : "WEB",
"url" : "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-34284"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101310.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101358.html"
}, {
"type" : "WEB",
"url" : "http://openwall.com/lists/oss-security/2013/03/25/2"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2012/dsa-2505"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/06/26/2"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/06/26/4"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/06/27/2"
}, {
"type" : "WEB",
"url" : "http://www.securitytracker.com/id?1027208"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-12T18:22:11Z",
"nvd_published_at" : "2013-02-13T17:55:00Z"
}
}