CVE-2024-34102 kev in the critical feed json
XXE can expose crypt key and other secrets granting full admin access
published 2024-06-13 2 y ago modified 2026-06-17 4 mo ago also BIT-magento-2024-34102 , EUVD-2024-2102 , GHSA-m8cj-3v68-3cxj
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Exploited
- added 2024-07-17
- epss
- 100.0%
- EPSS 100.0% chance of exploitation in 30 days, percentile 99.9%
- public exploits
- 2
- Metasploit, plus a Nuclei check
Summary
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.
Patch / fix
cisa required action Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- packagist magento/community-edition 2.4.4-p9, 2.4.5-p8, 2.4.6-p6
- bitnami magento 2.4.4-p9, 2.4.5-p8, 2.4.6-p6, 2.4.7-p1
- adobe commerce 2.3.4-p4-ext-8, 2.4.0-ext-8, 2.4.1-ext-8, 2.4.2-ext-8, 2.4.3-ext-8, 2.4.4-p9, 2.4.5-p8, 2.4.6-p6, 2.4.7-p1
- adobe magento 2.3.4-p4-ext-8, 2.4.0-ext-8, 2.4.1-ext-8, 2.4.2-ext-8, 2.4.3-ext-8, 2.4.4-p9, 2.4.5-p8, 2.4.6-p6, 2.4.7-p1
- magento magento 2.3.4-p4-ext-8, 2.4.0-ext-8, 2.4.1-ext-8, 2.4.2-ext-8, 2.4.3-ext-8, 2.4.4-p9, 2.4.5-p8, 2.4.6-p6, 2.4.7-p1
- adobe magento_open_source 2.4.4-p9, 2.4.5-p8, 2.4.6-p6, 2.4.7-p1
Timeline
- First public exploit (Metasploit auxiliary/gather/magento_xxe_cve_2024_34102)
- Published
- Added to CISA KEV
- CISA SSVC: exploitation active
- CISA patch deadline
Known exploited
- Added
- 2 y ago
- Patch by
- 2024-08-07 (2 y ago)
- Ransomware
- Not known
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Vendor, product
- Adobe, Commerce and Magento Open Source
- CISA name
- Adobe Commerce and Magento Open Source Improper Restriction of XML External Entity Reference (XXE) Vulnerability
ATT&CK techniques
How it is exploited and what it leads to, in MITRE ATT&CK terms.
- T1190 Exploit Public-Facing Application exploitation
- T1059 Command and Scripting Interpreter primary impact
- T1005 Data from Local System secondary impact
kev release 2025-07-28, att&ck v16.1. KEV to ATT&CK mappings by the MITRE Center for Threat-Informed Defense (Mappings Explorer, Apache-2.0). © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. Terms of use
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
99.99% chance of exploitation in the next 30 days, higher than 99.9% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/http/magento_xxe_to_glibc_buf_overflow CosmicSting: Magento Arbitrary File Read (CVE-2024-34102) + PHP Buffer Overflow in the iconv() function of glibc (CVE-2024-2961) metasploit exploit, excellent rank, 2024-07-26
- Metasploit auxiliary/gather/magento_xxe_cve_2024_34102 Magento XXE Unserialize Arbitrary File Read metasploit auxiliary, normal rank, 2024-06-11
- Nuclei template Adobe Commerce & Magento - CosmicSting nuclei detection template
- vicarius.io https://www.vicarius.io/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-adobe-commerce-and-magento-cve-2024-34102 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | magento/community-edition | 1 listed version >=2.4.6-p1, <2.4.6-p6 >=2.4.5-p1, <2.4.5-p8 <2.4.4-p9 |
2.4.6-p6 2.4.5-p8 2.4.4-p9 |
| bitnami | magento | >=2.4.7-alpha0, <2.4.7-p1 >=2.4.6-alpha0, <2.4.6-p6 >=2.4.5-alpha0, <2.4.5-p8 >=2.4.4-alpha0, <2.4.4-p9 |
2.4.7-p1 2.4.6-p6 2.4.5-p8 2.4.4-p9 |
Affected products
- Adobe Adobe Commerce
- adobe commerce
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/magento/magento2/commit/30877fce83b793f71421c47347885cf076e81799
web
-
github.com
/magento/magento2/commit/a3c6d6e5e95e63031e4df26cfcf76feace7549c2
web
-
github.com
/magento/magento2/commit/c5c538810b87449886f4669cb8abbe8e5593c83c
web
-
github.com
/magento/magento2/commit/d10435b11ada4e502dca7539f8fd31d059d3c482#diff-84a0773a6287fbbaadf3b9103f4a137fc0b6946
web
-
vicarius.io
/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-adobe-commerce-and-magento-cve-2024-
web, exploit, technical-description, third-party-advisory
-
helpx.adobe.com
/security/products/magento/apsb24-40.html
vendor-advisory, web
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-34102
government-resource, third-party-advisory, us-government-resource
-
nvd.nist.gov
/vuln/detail/CVE-2024-34102
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2024-34102.yaml
web
-
github.com
/magento/magento2
package
Sources
- CVE List CVE-2024-34102
- GitHub Advisory GHSA-m8cj-3v68-3cxj
- NVD CVE-2024-34102
- OSV BIT-magento-2024-34102
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.