Adobe published security bulletin APSB24-40 on 11 June 2024.
APSB24-40 included CVE-2024-34102, widely known as CosmicSting. Adobe rated the XML External Entity issue critical, with a CVSS score of 9.8, no authentication requirement and a potential arbitrary-code-execution impact. Adobe later confirmed limited exploitation in the wild.
Remediation order
- Apply the supported security release or Adobe’s ACSD-60241 isolated patch for the affected 2.4.4–2.4.7 lines.
- Verify the patch in code and through the deployment record; do not infer success from a quiet storefront.
- Inspect application, access and security logs, Admin accounts, scheduled tasks and changed files. Patching closes the flaw but does not undo earlier access.
- Keep Magento’s origin reachable only through the intended proxy or trusted administration routes.
Cloudflare containment
Cloudflare later added a managed “Magento – XXE – CVE:CVE-2024-34102” detection (legacy rule 100682). Confirm the relevant managed ruleset is deployed and that the rule is not skipped. Review Security Events before and after blocking for legitimate matches.
A WAF is defence in depth, not proof of remediation. An attacker who can reach the origin directly can bypass edge rules, so restrict origin ingress to Cloudflare’s published networks or use an authenticated-origin design. Do not delay Adobe’s patch because a managed rule is active.
Sources: Adobe APSB24-40; Cloudflare WAF changelog; Cloudflare origin-access guidance.