CVE-2024-34102 Adobe Commerce and Magento Open Source Improper Restriction of XML External Entity Reference (XXE)
An attacker can exploit an XXE vulnerability in Adobe Commerce to expose secrets and gain full admin access without user interaction.
- Exploited in the wild
- Since 17 Jul 2024
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-34102?
CVE-2024-34102 is a critical vulnerability in Adobe Commerce, published on 13 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-611
Which versions are affected by CVE-2024-34102?
9 open source packages ship an affected version, including magento/community-edition and magento. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
magento/community-edition Packagist | All versions | None |
magento/community-edition Packagist | All versions | None |
magento/community-edition Packagist | All versions | 2.4.4-p9 |
magento/community-edition Packagist | All versions | 2.4.4-p9 |
magento/community-edition Packagist | From 2.4.5-p1 | 2.4.5-p8 |
magento/community-edition Packagist | From 2.4.5-p1 | 2.4.5-p8 |
3 more packages
magento/community-edition Packagist | From 2.4.6-p1 | 2.4.6-p6 |
magento/community-edition Packagist | From 2.4.6-p1 | 2.4.6-p6 |
magento Bitnami | From 2.4.7-alpha0 | 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 |
Products include Adobe Commerce, Adobe Commerce Webhooks, Adobe Magento.
How do I fix CVE-2024-34102?
Upgrade magento/community-edition to a fixed version for your release line: 2.4.4-p9, 2.4.5-p8 or 2.4.6-p6. US federal agencies must fix it by 7 Aug 2024.
Is CVE-2024-34102 being exploited?
Yes. Attackers have exploited CVE-2024-34102 in the wild since at least 17 Jul 2024.
Public exploit code: 2 Metasploit modules, 1 Nuclei template and 23 proofs of concept on GitHub.
Other vulnerabilities in Adobe Commerce
- CVE-2026-75650 Adobe Commerce and Magento Improper Neutralization of Special Elements Used in a Template Engine
- CVE-2022-24086 Adobe Commerce and Magento Open Source Improper Input Validation
- CVE-2026-48356 Adobe Commerce and Magento Unrestricted Upload of File with Dangerous Type
- CVE-2026-71362 Adobe Commerce and Magento Incorrect Authorization Vulnerability
- CVE-2025-54236 Adobe Commerce and Magento Improper Input Validation
Sources
Also known as BIT-magento-2024-34102, GHSA-m8cj-3v68-3cxj.