Magento Open Source affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability
Impact
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.
Source excerpt · OSVExploitation of this issue does not require user interaction.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 2.4.6-p1 before 2.4.6-p6Ecosystem versions | 2.4.6-p6 |
| From 2.4.5-p1 before 2.4.5-p8Ecosystem versions | 2.4.5-p8 |
| Earlier releases before 2.4.4-p9Ecosystem versions | 2.4.4-p9 |
Version evidence: OSV · GHSA-m8cj-3v68-3cxj
View original version evidence (162 explicit versions)
Original source 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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2024-34102
- Patch github.com/magento/magento2/commit/30877fce83b793f71421c47347885cf076e81799
- Patch github.com/magento/magento2/commit/a3c6d6e5e95e63031e4df26cfcf76feace7549c2
- Patch github.com/magento/magento2/commit/c5c538810b87449886f4669cb8abbe8e5593c83c
- Patch github.com/magento/magento2/commit/d10435b11ada4e502dca7539f8fd31d059d3c482
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2024-34102.yaml
- Source reference github.com/magento/magento2
- Security advisory helpx.adobe.com/security/products/magento/apsb24-40.html
- Security advisory www.vicarius.io/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-adobe-commerce-and-magento-cve-2024-34102