CVE-2024-34102

CRITICAL KEV NUCLEI

Adobe Commerce and Magento - XML External Entity Injection to Code Execution

Title source: manual
STIX 2.1

Exploitation Summary

CVE-2024-34102 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added July 17, 2024. EIP tracks 25 public exploits from researchers including Chocapikk, bigb0x, th3gokul, including a Metasploit module exploits/linux/http/magento_xxe_to_glibc_buf_overflow. A Nuclei detection template is also available.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2024-34102, an XXE vulnerability in Adobe Commerce that allows arbitrary file read via SSRF. The exploit crafts a malicious XML payload, hosts a DTD file on an external service, and exfiltrates data through a callback URL.

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.

Exploits (25)

nomisec WORKING POC 48 stars
by Chocapikk · infoleak
https://github.com/Chocapikk/CVE-2024-34102

This repository contains a functional exploit for CVE-2024-34102, an XXE vulnerability in Adobe Commerce that allows arbitrary file read via SSRF. The exploit crafts a malicious XML payload, hosts a DTD file on an external service, and exfiltrates data through a callback URL.

Classification
Working Poc 95%
Attack Type
Ssrf
Complexity
Moderate
Reliability
Reliable
Target: Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8, and earlier
No auth needed
Prerequisites: Target URL must be accessible · External service (fars.ee) must be reachable for DTD hosting
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 31 stars
by bigb0x · infoleak
https://github.com/bigb0x/CVE-2024-34102

This repository contains a functional Python-based exploit for CVE-2024-34102, an XXE vulnerability in Magento/Adobe Commerce. The PoC leverages XML entity injection to exfiltrate files (e.g., /etc/passwd) from vulnerable targets via a crafted POST request and a local HTTP listener.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Adobe Commerce (Magento) versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier
No auth needed
Prerequisites: Python 3.6+ · requests library · publicly accessible IP for callback listener
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 14 stars
by th3gokul · infoleak
https://github.com/th3gokul/CVE-2024-34102

The repository contains a functional exploit tool for CVE-2024-34102, an unauthenticated XXE vulnerability in Magento. The tool uses asynchronous HTTP requests to detect and exploit the vulnerability by interacting with an external API for SSRF callback tracking.

Classification
Working Poc 90%
Attack Type
Xxe
Complexity
Moderate
Reliability
Reliable
Target: Magento
No auth needed
Prerequisites: Target URL or list of URLs · Internet access for callback tracking
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 9 stars
by jakabakos · infoleak
https://github.com/jakabakos/CVE-2024-34102-CosmicSting-XXE-in-Adobe-Commerce-and-Magento

This repository contains a functional exploit for CVE-2024-34102, an unauthenticated XXE vulnerability in Adobe Commerce and Magento. The exploit leverages nested deserialization to read arbitrary files via crafted XML payloads, with support for out-of-band data exfiltration.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Adobe Commerce and Magento (versions affected by CVE-2024-34102)
No auth needed
Prerequisites: Network access to the target · Target must be vulnerable to CVE-2024-34102
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 6 stars
by bughuntar · infoleak
https://github.com/bughuntar/CVE-2024-34102

This repository contains a functional Go-based exploit for CVE-2024-34102, an XXE vulnerability in Adobe Commerce that can lead to arbitrary code execution. The exploit crafts a malicious XML payload to exfiltrate data via SSRF and uses external services for DTD hosting and callback handling.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier
No auth needed
Prerequisites: Network access to the target Adobe Commerce instance · Ability to host a malicious DTD file externally · Access to an external service for callback handling
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 3 stars
by EQSTLab · remote
https://github.com/EQSTLab/CVE-2024-34102

This repository contains a functional exploit for CVE-2024-34102, an XXE vulnerability in Adobe Commerce. The exploit leverages external entity references to achieve arbitrary file read and potential code execution by exfiltrating data via a crafted XML payload and callback mechanism.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier
No auth needed
Prerequisites: Network access to the target Adobe Commerce instance · Ability to send crafted XML requests to the target
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 3 stars
by 11whoami99 · infoleak
https://github.com/11whoami99/CVE-2024-34102

The repository contains a functional proof-of-concept for CVE-2024-34102, demonstrating an unauthenticated XXE vulnerability in Magento that can bypass WAF protections. The exploit sends a crafted HTTP POST request to trigger an external HTTP connection to a specified webhook.

Classification
Working Poc 90%
Attack Type
Xxe
Complexity
Trivial
Reliability
Reliable
Target: Magento (version not specified)
No auth needed
Prerequisites: Access to the target Magento instance · A webhook or listener to receive the HTTP callback
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 2 stars
by 0x0d3ad · infoleak
https://github.com/0x0d3ad/CVE-2024-34102

This repository contains a functional exploit for CVE-2024-34102, leveraging an XXE (XML External Entity) vulnerability in Magento's REST API to exfiltrate file contents via out-of-band data extraction. The PoC sets up a local HTTP server to capture the exfiltrated data and sends a crafted XML payload to the target endpoint.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Magento (specific version not specified)
No auth needed
Prerequisites: Target URL with vulnerable Magento REST API endpoint · Attacker-controlled IP and port for HTTP server
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WRITEUP 1 stars
by wubinworks · poc
https://github.com/wubinworks/magento2-cosmic-sting-patch

This repository provides a Magento 2 extension patch for CVE-2024-34102 (Cosmic Sting), an XXE vulnerability that can lead to RCE. It includes code to detect and block forbidden XML-related classes during deserialization.

Classification
Writeup 90%
Attack Type
Xxe
Complexity
Moderate
Reliability
Reliable
Target: Magento 2 (versions 2.3.0 to 2.4.7)
No auth needed
Prerequisites: Access to Magento 2 web API endpoints
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec STUB 1 stars
by Phantom-IN · poc
https://github.com/Phantom-IN/CVE-2024-34102

The repository contains only a README.md file with a CVE title and no additional content, technical details, or exploit code. It appears to be a placeholder or stub with no substantive information.

Classification
Stub 100%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed Feb 18, 2026 Full analysis →
github WORKING POC
by russellwork2021-lgtm · pythonpoc
https://github.com/russellwork2021-lgtm/cosmicsting-cve-2024-34102-exploit

This repository contains a functional exploit suite for CVE-2024-34102, targeting Adobe Commerce/Magento 2.4.x via XXE injection. The exploit tests multiple attack vectors, including SSRF and file read capabilities, with detailed technical implementation.

Classification
Working Poc 95%
Attack Type
Ssrf | Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Adobe Commerce/Magento 2.4.x
No auth needed
Prerequisites: Access to vulnerable Magento instance · Network connectivity to external SSRF services
devstral-2 · analyzed May 25, 2026 Full analysis →
nomisec WORKING POC
by nmmorette · remote
https://github.com/nmmorette/CVE-2024-34102

This repository contains a functional exploit for CVE-2024-34102, an XXE vulnerability in Adobe Commerce and Magento. It includes a Python-based exploit script, a dynamic DTD server, and a callback server for data exfiltration.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Adobe Commerce and Magento (versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier)
No auth needed
Prerequisites: Python 3.8+ · Access to a server to host DTD files · Callback service (Burp Collaborator, Oastify, or own server)
devstral-2 · analyzed Feb 19, 2026 Full analysis →
nomisec WORKING POC
by Kento-Sec · remote
https://github.com/Kento-Sec/CVE-2024-34102

This repository contains a functional Go-based exploit for CVE-2024-34102, an XXE vulnerability in Adobe Commerce that can lead to remote code execution. The exploit crafts a malicious XML payload to exfiltrate data via SSRF and external entity references.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier
No auth needed
Prerequisites: Network access to the target Adobe Commerce instance · Ability to host a malicious DTD file externally
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec STUB
by Koray123-debug · poc
https://github.com/Koray123-debug/CVE-2024-34102

The repository contains only a README.md file with no content, indicating it is a placeholder or stub with no functional exploit code or technical details.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by dream434 · poc
https://github.com/dream434/CVE-2024-34102

This repository contains a functional exploit for CVE-2024-34102, an XXE vulnerability in Adobe Commerce that can lead to arbitrary code execution. The exploit sends a crafted XML document to trigger the vulnerability and exfiltrate data via an external entity.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8, and earlier
No auth needed
Prerequisites: Python 3.x · requests library · fake_useragent library · target URL
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by SamJUK · infoleak
https://github.com/SamJUK/cosmicsting-validator

This repository contains a functional exploit for CVE-2024-34102, an XXE vulnerability in Adobe Commerce. The PoC demonstrates arbitrary file read via crafted XML payloads sent to the `/rest/V1/guest-carts/1/estimate-shipping-methods` endpoint, leveraging external DTDs and SSRF callbacks for data exfiltration.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Adobe Commerce (2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8, and earlier)
No auth needed
Prerequisites: Target must be running a vulnerable version of Adobe Commerce · Outbound internet access from the target to external DTD and SSRF callback servers
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by mksundaram69 · infoleak
https://github.com/mksundaram69/CVE-2024-34102

This repository contains a functional exploit for CVE-2024-34102, an XML entity injection vulnerability in Magento. The PoC demonstrates file exfiltration via a crafted XML payload sent to a vulnerable Magento endpoint.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Magento (version not specified)
No auth needed
Prerequisites: Python 3.x · requests library · vulnerable Magento instance · accessible exfiltration server
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by wubinworks · poc
https://github.com/wubinworks/magento2-encryption-key-manager-cli

This repository contains functional exploit code for CVE-2024-34102, targeting Magento2's encryption key management system. The code includes commands to generate, list, and rotate encryption keys, demonstrating the vulnerability.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Magento2 Encryption Key Manager CLI
No auth needed
Prerequisites: Access to Magento2 installation
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by bka · infoleak
https://github.com/bka/magento-cve-2024-34102-exploit-cosmicstring

This repository contains a functional exploit for CVE-2024-34102, an XXE vulnerability in Adobe Commerce and Magento. It includes scripts to extract cryptographic keys via XXE, generate JWT tokens, and demonstrate REST API access with stolen credentials.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Adobe Commerce & Magento (versions 2.4.7 and earlier, 2.4.6-p5 and earlier, 2.4.5-p7 and earlier, 2.4.4-p8 and earlier)
No auth needed
Prerequisites: Access to a vulnerable Magento instance · Ability to send crafted HTTP requests to the target
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec NO CODE
by unknownzerobit · poc
https://github.com/unknownzerobit/poc
nomisec WORKING POC
by d0rb · infoleak
https://github.com/d0rb/CVE-2024-34102

This repository contains a functional exploit for CVE-2024-34102, an XML entity injection vulnerability in Magento. The PoC demonstrates file exfiltration via a crafted XML payload sent to a vulnerable endpoint.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Magento (versions affected by CVE-2024-34102)
No auth needed
Prerequisites: Python 3.x · requests library · vulnerable Magento instance · accessible exfiltration server
devstral-2 · analyzed Feb 18, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by Sergey Temnikov, Charles Fol, Heyder, jheysel-r7 · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/magento_xxe_to_glibc_buf_overflow.rb

This Metasploit module exploits CVE-2024-34102 (Magento XXE) and CVE-2024-2961 (glibc buffer overflow) to achieve unauthenticated RCE. It chains arbitrary file read via XXE with a heap-based buffer overflow in PHP's iconv() function.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: Magento 2.4.7 and earlier, Adobe Commerce 2.4.7 and earlier
No auth needed
Prerequisites: Vulnerable PHP (7.0.0-8.3.7) · Vulnerable glibc (<=2.39) · zlib extension enabled
devstral-2 · analyzed Mar 05, 2026 Full analysis →
metasploit WORKING POC
by Sergey Temnikov, Heyder · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/magento_xxe_cve_2024_34102.rb

This Metasploit module exploits CVE-2024-34102, an XXE vulnerability in Magento 2.4.7-p1 and below, allowing arbitrary file read via a crafted XML payload. It uses a callback server to exfiltrate base64-encoded file contents.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Magento 2.4.7-p1 and below
No auth needed
Prerequisites: Network access to the target Magento instance · Ability to receive callbacks from the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

Adobe Commerce & Magento - CosmicSting
CRITICALVERIFIEDby DhiyaneshDK
FOFA: app="Adobe-Magento"

Scores

CVSS v3 9.8
EPSS 0.9417
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Details

CISA KEV 2024-07-17
VulnCheck KEV 2024-07-12
InTheWild.io 2024-07-17
ENISA EUVD EUVD-2024-2102
CWE
CWE-611
Status published
Products (9)
adobe/commerce 2.4.2 (6 CPE variants)
adobe/commerce 2.4.3 (6 CPE variants)
adobe/commerce 2.4.4 (8 CPE variants)
adobe/commerce 2.4.5 (7 CPE variants)
adobe/commerce 2.4.6 (5 CPE variants)
adobe/commerce 2.4.7
adobe/commerce_webhooks 1.2.0 - 1.5.0
adobe/magento 2.4.4 (9 CPE variants)
adobe/magento 2.4.5 (7 CPE variants)
Published Jun 13, 2024
KEV Added Jul 17, 2024
Tracked Since Feb 18, 2026