CVE-2024-34102XXE can expose crypt key and other secrets granting full admin access
- 9.8CriticalCVSS base score
- 100.0%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 17 Jul 2024
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Adobe Commerce and Magento Open Source Improper Restriction of XML External Entity Reference (XXE) Vulnerability.
- Added
- 17 Jul 2024
- Fix due (US federal)
- 7 Aug 2024
- Used by ransomware
- Not known
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 17 Jul 2024.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list 2 Metasploit modules and a Nuclei template for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits3
Metasploit modules2 modules
- CosmicSting: Magento Arbitrary File Read (CVE-2024-34102) + PHP Buffer Overflow in the iconv() function of glibc (CVE-2024-2961) (Metasploit module) (opens in a new tab)
exploit/linux/http/magento_xxe_to_glibc_buf_overflowRank excellentdisclosed 26 Jul 2024
- Magento XXE Unserialize Arbitrary File Read (Metasploit module) (opens in a new tab)
auxiliary/gather/magento_xxe_cve_2024_34102Rank normaldisclosed 11 Jun 2024
Nuclei templates1 template
- Adobe Commerce & Magento - CosmicSting (Nuclei template) (opens in a new tab)
http/cves/2024/CVE-2024-34102.yamlSeverity critical
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By adobe
- 44 days later
· 44 days later
Published
- 34 days later
· 34 days later
Added to CISA KEV
Known exploited in the wild
- 15 months later
· 15 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| adobeCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 100.0% · top 0.1% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
- affected ≤ 2.4.4-p8
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistmagento/community-editionGHSA-m8cj-3v68-3cxj (opens in a new tab)
References
References3
- https://helpx.adobe.com/security/products/magento/apsb24-40.html (opens in a new tab)vendor-advisoryx_transferred
- https://www.vicarius.io/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-adobe-commerce-and-magento-cve-2024-34102 (opens in a new tab)x_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-34102 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-2102 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-m8cj-3v68-3cxj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-34102)Record last updated .