GitHub Advisory Database
GHSA-m8cj-3v68-3cxj
Magento Open Source affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | magento/community-edition | 2.4.4 |
| Packagist | magento/community-edition | From 2.4.6-p1 before 2.4.6-p6 (fixed in 2.4.6-p6) |
| Packagist | magento/community-edition | From 2.4.5-p1 before 2.4.5-p8 (fixed in 2.4.5-p8) |
| Packagist | magento/community-edition | All versions before 2.4.4-p9 (fixed in 2.4.4-p9) |
| Packagist | magento/community-edition | 2.4.5 |
| Packagist | magento/community-edition | 2.4.6 |
| Packagist | magento/community-edition | 2.4.7 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-34102
- 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://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2024-34102.yaml
- https://github.com/magento/magento2
- https://helpx.adobe.com/security/products/magento/apsb24-40.html
- https://www.vicarius.io/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-adobe-commerce-and-magento-cve-2024-34102