cbcvebase.
CVE-2024-34102
published 2024-06-13

CVE-2024-34102: 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')…

PriorityP198critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
KEVITWEXPLOITInitial access
CISA Known Exploited Vulnerabilitydue 2024-08-07
Exploited in the wild
EPSS
99.99%
100.0th percentile
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.

Affected

15 ranges
VendorProductVersion rangeFixed in
adobeadobe_commerce<= 2.4.4-p8
adobecommerce
adobecommerce
adobecommerce
adobecommerce
adobecommerce
adobecommerce
adobecommerce_webhooks>= 1.2.0 < 1.5.01.5.0
adobemagento
adobemagento
adobemagento
adobemagento
magentocommunity-edition>= 0 < 2.4.4-p92.4.4-p9
magentocommunity-edition>= 2.4.5-p1 < 2.4.5-p82.4.5-p8
magentocommunity-edition>= 2.4.6-p1 < 2.4.6-p62.4.6-p6

Detection & IOCsextracted from sources · hover to see the quote

path/proc/self/maps
  • CVE-2024-34102 is exploited via crafted XML documents using PHP filters to read arbitrary files; chain with CVE-2024-2961 (glibc iconv buffer overflow) enables unauthenticated RCE. Detect anomalous XML requests containing PHP filter chains targeting Magento/Adobe Commerce endpoints.
  • Threat actors steal Magento cryptographic (secret encryption) keys via CosmicSting; monitor for unauthorized reads of Magento configuration files (e.g., env.php) containing encryption keys.
  • Malicious scripts are injected from domains masquerading as well-known JavaScript libraries or analytics packages (e.g., jQuery, CDN analytics); monitor outbound script loads from unexpected external domains on e-commerce checkout pages.
  • ScreamedJungle threat actor injects Bablosoft JS into compromised Magento sites to harvest browser fingerprints using PerfectCanvas technology; detect unexpected Bablosoft JS script inclusions on Magento storefronts.
  • The exploit chain reads /proc/self/maps to leak PHP heap addresses and libc filename, then downloads the libc binary to extract offsets; detect HTTP requests to Magento endpoints that trigger file reads of /proc/self/maps or libc shared objects.
  • ·The exploit requires both CVE-2024-34102 (XXE) AND CVE-2024-2961 (glibc iconv buffer overflow) to achieve RCE; CVE-2024-34102 alone is an information disclosure / arbitrary file read. Vulnerable PHP versions span 7.0.0 through 8.3.7 and glibc 2.39 and earlier must also be present.
  • ·75% of the Adobe Commerce & Magento install base had not patched when automated scanning for secret encryption keys began, indicating widespread exposure; patching alone may be insufficient if keys were already exfiltrated — key rotation is also required.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck9.8CRITICAL
cisa9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.