CVE-2024-56145RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
Explotación conocida — Craft CMS Code Injection Vulnerability
CISA confirmó el 02.06.2025 que esta vulnerabilidad se usa en ataques reales. Plazo para las agencias federales de EE. UU.: 23.06.2025.
Acción requerida: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9 ; https://nvd.nist.gov/vuln/detail/CVE-2024-56145
Descripción
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.
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
Referencias y parches
- https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9 Vendor Advisory
- https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3 Patch
- https://github.com/Chocapikk/CVE-2024-56145 Exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-56145 US Government Resource
Coincidencias CPE (NVD) (3)
cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*≥ 3.0.0 < 3.9.14cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*≥ 4.0.0 < 4.13.2cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*≥ 5.0.0 < 5.5.2