Security readout for executives and security teams
Plain-English summary
Craft CMS sites in affected 3.x, 4.x, and 5.x releases can be exposed to remote code execution when PHP register_argc_argv is enabled. This is a critical, internet-reachable risk because exploitation needs no login or user interaction. CISA lists it as known exploited, so exposed sites should be treated as urgent remediation targets.
Executive priority
Treat this as immediate priority for any internet-facing Craft CMS estate. The issue enables remote code execution under a specific PHP setting, has critical severity, and is listed by CISA as known exploited. Remediation should be tracked as an incident-driven patching task, not routine maintenance.
Technical view
CVE-2024-56145 is a CWE-94 code injection issue in craftcms/cms. Affected ranges are 3.0.0 to before 3.9.14, 4.0.0-RC1 to before 4.13.2, and 5.0.0-RC1 to before 5.5.2, contingent on php.ini register_argc_argv being enabled. CVSS v4.0 is 9.3 with network, low-complexity, unauthenticated attack characteristics.
Likely exposure
Highest exposure is internet-facing Craft CMS deployments running affected versions with PHP register_argc_argv enabled. Sites already updated to 3.9.14, 4.13.2, or 5.5.2 are outside the named affected ranges. The provided sources do not identify specific hosting platforms or default configuration prevalence.
Exploitation context
Active exploitation is supported by CISA KEV listing. The source bundle also cites a public exploit repository, indicating public exploit material exists. The vendor advisory describes the RCE vector as unspecified, so this assessment should avoid assuming exact exploit mechanics beyond the documented configuration condition.
Researcher notes
Evidence supports affected versions, the register_argc_argv prerequisite, patch versions, CWE-94 classification, CVSS 9.3, CISA KEV status, and public exploit availability. The provided advisory does not disclose the precise RCE vector, affected configuration prevalence, or indicators of compromise.
Mitigation direction
- Upgrade Craft CMS to 3.9.14, 4.13.2, 5.5.2, or later.
- Disable PHP register_argc_argv where immediate upgrade is not possible.
- Prioritize internet-facing Craft CMS systems before internal-only instances.
- Review vendor guidance before applying compensating controls not listed here.
- After remediation, confirm the deployed Craft version and PHP setting.
Validation and detection
- Inventory Craft CMS versions across production, staging, and backups.
- Check php.ini for register_argc_argv on each Craft host.
- Confirm public-facing Craft sites are patched or have the setting disabled.
- Review CISA KEV status when assigning remediation deadlines.
- Look for post-exploitation indicators if exposure existed before remediation.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-94: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupExecution behavior lookup
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2024-56145 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Critical
- CVSS
- 9.3 (4.0)
- Known Exploited
- Yes
- Published
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CISA KEV status
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N——Primary CVE scoreVulnerability scoring details
Base CVSS 4.0 score
9.3CriticalVector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9CVE reference · x_refsource_CONFIRM
- https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3CVE reference · x_refsource_MISC
- https://github.com/Chocapikk/CVE-2024-56145CVE reference · exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-56145CVE reference · government-resource
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Control of Generation of Code ('Code Injection')
Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
