{"id":"CVE-2024-34102","published":"2024-06-13T09:15:10Z","modified":"2026-06-17T07:32:54Z","title":"Adobe Commerce and Magento Open Source Improper Restriction of XML External Entity Reference (XXE) Vulnerability","vendor":"Adobe","product":"Commerce and Magento Open Source","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"Adobe Commerce and Magento Open Source contain an Improper Restriction of XML External Entity Reference (XXE) flaw in their XML processing. An attacker can send a crafted XML document that references external entities, potentially leading to arbitrary code execution, and no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:09:00Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99994,"percentile":0.99987,"date":"2026-10-29","provenance":"source"},"kev":{"dateAdded":"2024-07-17","dueDate":"2024-08-07","ransomware":false,"requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","notes":"https://helpx.adobe.com/security/products/magento/apsb24-40.html;  https://nvd.nist.gov/vuln/detail/CVE-2024-34102","provenance":"source"},"vulncheckKev":{"dateAdded":"2024-07-12","exploitedFirstSeen":"2024-07-12","ransomware":false,"evidence":[{"url":"https://sansec.io/research/cosmicsting-hitting-major-stores","date":"2024-07-12"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2024-07-17"},{"url":"https://sansec.io/research/cosmicsting-cnext-persistent-backdoor","date":"2024-08-27"},{"url":"https://sansec.io/research/cosmicsting","date":"2024-09-16"},{"url":"https://sansec.io/research/cosmicsting-fallout","date":"2024-10-01"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-11-01&host_type=src&vulnerability=cve-2024-34102","date":"2024-11-01"},{"url":"https://global.ptsecurity.com/analytics/cybersecurity-threatscape-2024-q3","date":"2024-11-19"},{"url":"https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/the-state-of-magecart-a-persistent-threat-to-e-commerce-security/","date":"2025-01-09"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-01-14&host_type=src&vulnerability=cve-2024-34102","date":"2025-01-14"},{"url":"https://go.recordedfuture.com/hubfs/reports/cta-2025-0121.pdf","date":"2025-01-21"}],"evidenceTotal":58,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 30, 2026","url":"https://otx.alienvault.com/pulse/6ae35d889ea92b4ce19c2680","created":"2026-10-29"},{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"}],"provenance":"machine"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://helpx.adobe.com/security/products/magento/apsb24-40.html","tags":["Vendor Advisory"]},{"url":"https://www.vicarius.io/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-adobe-commerce-and-magento-cve-2024-34102","tags":["Exploit","Technical Description","Third Party Advisory"]},{"url":"https://helpx.adobe.com/security/products/magento/apsb24-40.html","tags":["Vendor Advisory"]},{"url":"https://www.vicarius.io/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-adobe-commerce-and-magento-cve-2024-34102","tags":["Exploit","Technical Description","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-34102","tags":["Third Party Advisory","US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"source","basis":"ctid-kev","bases":["ctid-kev"],"basisDetail":"CTID Mappings Explorer KEV 07/28/2025 (ATT&CK 16.1); capability: XML External Entity (XXE)","mappingType":"exploitation_technique","evidence":[],"comment":"This vulnerability is exploited by sending a crafted XML document that references external entities with the likely goal of accessing local data.","confidence":"high"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"source","basis":"ctid-kev","bases":["ctid-kev"],"basisDetail":"CTID Mappings Explorer KEV 07/28/2025 (ATT&CK 16.1); capability: XML External Entity (XXE)","mappingType":"primary_impact","evidence":[],"comment":"This vulnerability is exploited by sending a crafted XML document that references external entities with the likely goal of accessing local data.","confidence":"high"},{"id":"T1005","name":"Data from Local System","tactics":["collection"],"provenance":"source","basis":"ctid-kev","bases":["ctid-kev"],"basisDetail":"CTID Mappings Explorer KEV 07/28/2025 (ATT&CK 16.1); capability: XML External Entity (XXE)","mappingType":"secondary_impact","evidence":[],"comment":"This vulnerability is exploited by sending a crafted XML document that references external entities with the likely goal of accessing local data.","confidence":"high"}],"reports":[],"affected":[{"ecosystem":"Packagist","package":"magento/community-edition","vulnerableRanges":[">=2.4.6-p1, <2.4.6-p6",">=2.4.5-p1, <2.4.5-p8","<2.4.4-p9"],"patched":["2.4.6-p6","2.4.5-p8","2.4.4-p9"],"from":["GHSA-m8cj-3v68-3cxj"],"provenance":"source"}],"advisories":[{"id":"GHSA-m8cj-3v68-3cxj","url":"https://github.com/advisories/GHSA-m8cj-3v68-3cxj","severity":"CRITICAL","ecosystem":"Packagist","package":"magento/community-edition","vulnerableRanges":[],"patched":[],"provenance":"source","from":"GHSA"},{"id":"GHSA-m8cj-3v68-3cxj","url":"https://github.com/advisories/GHSA-m8cj-3v68-3cxj","severity":"CRITICAL","ecosystem":"Packagist","package":"magento/community-edition","vulnerableRanges":[">=2.4.6-p1, <2.4.6-p6"],"patched":["2.4.6-p6"],"provenance":"source","from":"GHSA"},{"id":"GHSA-m8cj-3v68-3cxj","url":"https://github.com/advisories/GHSA-m8cj-3v68-3cxj","severity":"CRITICAL","ecosystem":"Packagist","package":"magento/community-edition","vulnerableRanges":[">=2.4.5-p1, <2.4.5-p8"],"patched":["2.4.5-p8"],"provenance":"source","from":"GHSA"},{"id":"GHSA-m8cj-3v68-3cxj","url":"https://github.com/advisories/GHSA-m8cj-3v68-3cxj","severity":"CRITICAL","ecosystem":"Packagist","package":"magento/community-edition","vulnerableRanges":["<2.4.4-p9"],"patched":["2.4.4-p9"],"provenance":"source","from":"GHSA"},{"id":"GHSA-m8cj-3v68-3cxj","url":"https://github.com/advisories/GHSA-m8cj-3v68-3cxj","severity":"CRITICAL","ecosystem":"Packagist","package":"magento/community-edition","vulnerableRanges":[],"patched":[],"provenance":"source","from":"GHSA"},{"id":"GHSA-m8cj-3v68-3cxj","url":"https://github.com/advisories/GHSA-m8cj-3v68-3cxj","severity":"CRITICAL","ecosystem":"Packagist","package":"magento/community-edition","vulnerableRanges":[],"patched":[],"provenance":"source","from":"GHSA"},{"id":"GHSA-m8cj-3v68-3cxj","url":"https://github.com/advisories/GHSA-m8cj-3v68-3cxj","severity":"CRITICAL","ecosystem":"Packagist","package":"magento/community-edition","vulnerableRanges":[],"patched":[],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-2102","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2102","exploited":true,"exploitedSince":"2024-07-17","provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":18,"skipped":5,"earliest":"2024-06-27","earliestUrl":"https://github.com/th3gokul/CVE-2024-34102","repos":[{"name":"Chocapikk/CVE-2024-34102","url":"https://github.com/Chocapikk/CVE-2024-34102","stars":48,"created":"2024-06-28"},{"name":"bigb0x/CVE-2024-34102","url":"https://github.com/bigb0x/CVE-2024-34102","stars":31,"created":"2024-06-27"},{"name":"th3gokul/CVE-2024-34102","url":"https://github.com/th3gokul/CVE-2024-34102","stars":14,"created":"2024-06-27"},{"name":"jakabakos/CVE-2024-34102-CosmicSting-XXE-in-Adobe-Commerce-and-Magento","url":"https://github.com/jakabakos/CVE-2024-34102-CosmicSting-XXE-in-Adobe-Commerce-and-Magento","stars":9,"created":"2024-07-01"},{"name":"bughuntar/CVE-2024-34102","url":"https://github.com/bughuntar/CVE-2024-34102","stars":5,"created":"2024-07-13"}]},"metasploit":[{"name":"Magento XXE Unserialize Arbitrary File Read","module":"auxiliary/gather/magento_xxe_cve_2024_34102","type":"auxiliary","disclosureDate":"2024-06-11","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/magento_xxe_cve_2024_34102.rb"},{"name":"CosmicSting: Magento Arbitrary File Read (CVE-2024-34102) + PHP Buffer Overflow in the iconv() function of glibc (CVE-2024-2961)","module":"exploit/linux/http/magento_xxe_to_glibc_buf_overflow","type":"exploit","disclosureDate":"2024-07-26","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/magento_xxe_to_glibc_buf_overflow.rb"}],"nuclei":[{"id":"CVE-2024-34102","name":"Adobe Commerce & Magento - CosmicSting","severity":"critical","path":"http/cves/2024/CVE-2024-34102.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-34102.yaml"}],"first":{"date":"2024-06-11","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/magento_xxe_cve_2024_34102.rb"},"provenance":"source"},"exploitRefs":["https://www.vicarius.io/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-adobe-commerce-and-magento-cve-2024-34102"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"source"},{"stage":"primary","techniques":["T1059"],"provenance":"source"},{"stage":"secondary","techniques":["T1005"],"provenance":"source"}],"timeline":[{"date":"2024-06-11","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2024-06-27","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/magento_xxe_cve_2024_34102.rb","provenance":"source"},{"date":"2024-06-13","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34102","provenance":"source"},{"date":"2024-07-12","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://sansec.io/research/cosmicsting-hitting-major-stores","provenance":"source"},{"date":"2024-07-17","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2024-07-17","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2102","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":34},"priority":{"score":69.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 840 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":20.0,"detail":"percentile 0.9999"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 18 PoC-in-GitHub repos; 2 Metasploit modules; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}