CVE-2024-34102
Arbitrary Code Execution through Improper Restriction of XML External Entity Reference (XXE) vulnerability
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier are affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability that could result in arbitrary code execution. An attacker could exploit this vulnerability by sending a crafted XML document that references external entities. Exploitation of this issue does not require user interaction.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | magento/community-edition | 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 |
| composer::PHP Security Advisories Database | magento/product-community-edition | no fix listed |
References
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2024-34102.yaml
- https://github.com/magento/magento2
- https://github.com/magento/magento2/commit/30877fce83b793f71421c47347885cf076e81799
- https://github.com/magento/magento2/commit/a3c6d6e5e95e63031e4df26cfcf76feace7549c2
- https://github.com/magento/magento2/commit/c5c538810b87449886f4669cb8abbe8e5593c83c
- https://github.com/magento/magento2/commit/d10435b11ada4e502dca7539f8fd31d059d3c482#diff-84a0773a6287fbbaadf3b9103f4a137fc0b6946de2437ddfd6f60a0722cf8d23
- https://helpx.adobe.com/security/products/magento/apsb24-40.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-34102