GitHub Advisoryadvisory · Packagist
GHSA-4j9x-g4x8-vcmf ZendFramework potential XML eXternal Entity injection vectors
HIGH
Official page ↗
- Ecosystem
- Packagist
- Packages
- zendframework/zendframework1
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-611
- Reviewed
- 2024-06-07
Affected packages
• Packagist zendframework/zendframework1: >= 1.11.0, < 1.11.15 → fixed in 1.11.15
• Packagist zendframework/zendframework1: >= 1.12.0, < 1.12.1 → fixed in 1.12.1
Description
`Zend_Feed_Rss` and `Zend_Feed_Atom` were found to contain potential XML eXternal Entity (XXE) vectors due to insecure usage of PHP's DOM extension. External entities could be specified by adding a specific DOCTYPE element to feeds; exploiting this vulnerability could coerce opening arbitrary files and/or TCP connections.
A similar issue was fixed for 1.11.13 and 1.12.0, in the `Zend_Feed::import()` factory method; however, the reporter of the issue discovered that the individual classes contained similar functionality in their constructors which remained vulnerable.
Related
Weakness · CWE (1)
- CWE-611 Improper Restriction of XML External Entity Reference weakness