CVE-2024-34102

9.8 CRITICAL

📋 TL;DR

This critical XXE vulnerability in Adobe Commerce allows unauthenticated attackers to execute arbitrary code by sending malicious XML documents. It affects Adobe Commerce (formerly Magento) versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier. No user interaction is required for exploitation.

💻 Affected Systems

Products:
  • Adobe Commerce
  • Magento Open Source
Versions: 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier versions
Operating Systems: All platforms running affected Adobe Commerce versions
Default Config Vulnerable: ⚠️ Yes
Notes: All installations of affected versions are vulnerable by default. No special configuration required.

📦 What is this software?

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

Magento by Adobe

Magento (now Adobe Commerce) is a leading open-source e-commerce platform powering hundreds of thousands of online stores worldwide, processing billions in transactions across B2C, B2B, and marketplace models. Used by brands including Nike, Ford, Coca-Cola, Olympus, and thousands of mid-market retai...

Learn more about Magento →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise with remote code execution, data exfiltration, and potential lateral movement within the network.

🟠

Likely Case

Arbitrary code execution leading to data theft, website defacement, or deployment of malware/backdoors.

🟢

If Mitigated

Limited impact with proper XML parsing restrictions and network segmentation in place.

🌐 Internet-Facing: HIGH - Unauthenticated exploitation makes internet-facing instances prime targets.
🏢 Internal Only: MEDIUM - Internal systems still vulnerable but require network access.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: CONFIRMED
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

CISA has added this to their Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9

Vendor Advisory: https://helpx.adobe.com/security/products/magento/apsb24-40.html

Restart Required: Yes

Instructions:

1. Backup your Adobe Commerce instance. 2. Apply the security patch via Composer: composer require magento/product-community-edition=2.4.7-p1 (adjust version as needed). 3. Clear cache: php bin/magento cache:clean. 4. Restart web server services.

🔧 Temporary Workarounds

Disable XXE Processing

all

Configure XML parsers to disable external entity processing

Modify XML parser configuration to set: FEATURE_SECURE_PROCESSING = true, DISALLOW_DOCTYPE_DECL = true

WAF Rule Implementation

all

Block malicious XML payloads at the web application firewall

Add WAF rule to block requests containing: <!DOCTYPE, <!ENTITY, SYSTEM, PUBLIC

🧯 If You Can't Patch

  • Isolate affected systems from internet access using firewall rules
  • Implement strict network segmentation and monitor for unusual XML traffic patterns

🔍 How to Verify

Check if Vulnerable:

Check Adobe Commerce version via: php bin/magento --version

Check Version:

php bin/magento --version

Verify Fix Applied:

Verify patched version with: php bin/magento --version | grep -E '2.4.7-p1|2.4.6-p6|2.4.5-p8|2.4.4-p9'

📡 Detection & Monitoring

Log Indicators:

  • Unusual XML parsing errors
  • Large XML payloads in requests
  • Requests with DOCTYPE declarations

Network Indicators:

  • HTTP requests containing XML with external entity references
  • Outbound connections to unexpected IPs following XML requests

SIEM Query:

source="web_logs" AND ("<!DOCTYPE" OR "<!ENTITY" OR "SYSTEM=" OR "PUBLIC=")

🔗 References

📤 Share & Export