XML External Entity injection in Magento Open Source and Adobe Commerce (formerly Magento Commerce) - CVE-2024-34102
Published: June 12, 2024 / Updated: October 18, 2024
Vulnerability details
The vulnerability allows a remote attacker to compromise the affected application.
The vulnerability exists due to insufficient validation of user-supplied XML input. A remote attacker can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.
Affected software
Adobe Commerce (formerly Magento Commerce)
How to mitigate CVE-2024-34102
Adobe Commerce (formerly Magento Commerce) - addressed in versions 2.3.7-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
Links to Public Exploits and PoC-codes
- Exploit #10624 - CosmicSting: Magento Arbitrary File Read (CVE-2024-34102) + PHP Buffer Overflow in the iconv() function of glibc (CVE-2024-2961) (October 18, 2024)
- Exploit #10586 - magento-cve-2024-34102-exploit-cosmicstring () (October 11, 2024)
- Exploit #10565 - CVE-2024-34102 (October 9, 2024)
- Exploit #10434 - CVE-2024-34102 (August 23, 2024)
- Exploit #10412 - CVE-2024-34102 (August 16, 2024)
- Exploit #10222 - CVE-2024-34102 (July 19, 2024)
- Exploit #10221 - CVE-2024-34102-Python (CVE-2024-34102 Exploiter based on Python) (July 19, 2024)
- Exploit #10214 - Magento XXE Unserialize Arbitrary File Read (July 18, 2024)
- Exploit #10210 - CVE-2024-34102-CosmicSting-XXE-in-Adobe-Commerce-and-Magento (July 12, 2024)
- Exploit #10171 - CVE-2024-34102 (July 5, 2024)
- Exploit #10143 - CVE-2024-34102 (June 28, 2024)