CVE-2024-34102 Adobe Commerce and Magento Open Source Improper Restriction of XML External Entity Reference (XXE)

Exploited in the wild Critical 9.8 Published Updated

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.

PackageAffectedFixed in
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versions2.4.4-p9
magento/community-edition PackagistAll versions2.4.4-p9
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p8
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p8
3 more packages
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p6
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p6
magento BitnamiFrom 2.4.7-alpha02.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.

All Adobe Commerce vulnerabilities

Sources

Also known as BIT-magento-2024-34102, GHSA-m8cj-3v68-3cxj.

Is CVE-2024-34102 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free