# CVE-2024-56145: Craft CMS Code Injection Vulnerability - Exploited (CISA KEV): yes, added 2025-06-02 - Published: 2024-12-18 - CVSS: 9.3 CRITICAL (v4.0) - EPSS: 97.5% (100th percentile) - CWE: CWE-94 Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Users of affected versions are affected by this vulnerability if their php.ini configuration has `register_argc_argv` enabled. For these users an unspecified remote code execution vector is present. Users are advised to update to version 3.9.14, 4.13.2, or 5.5.2. Users unable to upgrade should disable `register_argc_argv` to mitigate the issue. ## Edge WAF coverage (claimed by vendors, not measured) | Vendor | Status | First rule | Days after publication | |---|---|---|---| | Cloudflare | Blocks by default | 2025-05-19 | 152 | | AWS | No public claim | — | — | | Microsoft Azure | No public claim | — | — | | Google Cloud | No public claim | — | — | | Fastly | Before feed history | — | — | | F5 | Rule published | 2025-01-21 | 34 | | Akamai | No public source | — | — | | OWASP CRS | No public claim | — | — | ### Cloudflare - 2025-05-19 · new · rule 91250eebec894705b62305b2f15bfda4 · default Block > Craft CMS - Remote Code Execution - CVE:CVE-2024-56145. Previous action: Log. New action: Block. This is a New Detection Source: https://developers.cloudflare.com/changelog/post/2025-05-19-waf-release/ ### F5 - 2025-01-21 · new · rule 200204001 > Added: signature 200204001 "CraftCMS Unauthenticated Remote Code Execution (2)" (Server Side Code Injection, risk High), systems: PHP. References: CVE-2024-56145. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog - 2025-03-11 · new · rule 200204001 > Added: signature 200204001 "CraftCMS Unauthenticated Remote Code Execution (2)" (Server Side Code Injection, risk High), systems: PHP. References: CVE-2024-56145. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog ## Our test (measured) - OWASP Core Rule Set 4.25.0, paranoia level 1, anomaly threshold 5, default CRS settings: passed (0 of 1 requests blocked), template CVE-2024-56145, 2026-11-02 - OWASP Core Rule Set 4.25.0, paranoia level 2, anomaly threshold 5, default CRS settings: passed (0 of 1 requests blocked), template CVE-2024-56145, 2026-11-02 "No public claim" means no vendor statement names this CVE; "Before feed history" means the CVE is older than the vendor feed. In both cases generic rules may still block it. HTML: https://cve.vigilbase.com/cve/CVE-2024-56145 · JSON: https://cve.vigilbase.com/api/v1/cves/CVE-2024-56145