GHSA-7pg4-5233-82jv CVE-2012-3363
Zend Framework XXE Vulnerability
- Severity
- 7.3 / 10
- High · CVSS 3.1
- Exploit chance (EPSS)
- 49.31%
- Chance of exploitation in the next 30 days. Higher than 98.89% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-611 Improper Restriction of XML External Entity Reference
- Fix
1.11.12- Upgrade zendframework/zendframework1 to this version or later
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.
Affected versions
Packagist
| Package | Vulnerable | Fixed in |
|---|---|---|
| zendframework/zendframework1 | >= 1.0.0, < 1.11.12 |
1.11.12 |
| zendframework/zendframework1 | >= 1.12.0-rc1, < 1.12.0 |
1.12.0 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
zendframework/zendframework1 Packagist → 1.11.12
- composer
composer require zendframework/zendframework1:^1.11.12
Severity breakdown
CVSS 3.1 7.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Weakness
CWE-611: Improper Restriction of XML External Entity Reference
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.
How to prevent it
- Implementation, System Configuration: Many XML parsers and validators can be configured to disable external entity expansion.
References
Advisories
Packages
Other links
- github.com/zendframework/zf1/commit/281a3251d71ed40a5289ec4afc355eea8e014dc5
- moodle.org/mod/forum/discuss.php
- web.archive.org/web/20170223044943/http://www.securitytracker.com/id
- sec-consult.com/files/20120626-0_zend_framework_xxe_injection.txt
- framework.zend.com/security/advisory/ZF2012-01
- git.moodle.org/gw
- lists.fedoraproject.org/pipermail/package-announce/2013-April/101310.html
- lists.fedoraproject.org/pipermail/package-announce/2013-April/101358.html
- openwall.com/lists/oss-security/2013/03/25/2
- debian.org/security/2012/dsa-2505
- openwall.com/lists/oss-security/2012/06/26/2
- openwall.com/lists/oss-security/2012/06/26/4
- openwall.com/lists/oss-security/2012/06/27/2
- securitytracker.com/id
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-6fqw-j3vm-7f66 Zendframework1 Potential SQL injection in ORDER and GROUP functions | Critical | Also affects zendframework/zendframework1 |
| GHSA-848f-mph5-9pm9 Zendframework Potential Information Disclosure and Insufficient Entropy vulnerability | High | Also affects zendframework/zendframework1 |
| GHSA-8xhv-gqm4-3w99 ZendFramework1 Potential Insufficient Entropy Vulnerability | High | Also affects zendframework/zendframework1 |
| GHSA-v42g-7q2x-cw32 Zendframework1 potential SQL injection vector using null byte for PDO (MsSql, SQLite) | Critical | Also affects zendframework/zendframework1 |
| GHSA-2x36-qhx3-7m5f ZendFramework1 Potential SQL injection in the ORDER implementation of Zend_Db_Select | Critical | Also affects zendframework/zendframework1 |
| GHSA-9v78-h226-2rmq Zendframework potential security issue in login mechanism | High | Also affects zendframework/zendframework1 |
| GHSA-4vf6-mq7w-3hp6 Zend_Filter_StripTags vulnerable to Cross-site Scripting when comments allowed | Medium | Also affects zendframework/zendframework1 |
| GHSA-4v57-pwvf-x35j Zendframework potential Cross-site Scripting vector in `Zend_Service_ReCaptcha_MailHide` | Medium | Also affects zendframework/zendframework1 |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor