CVE-2024-56145: critical vulnerability in craftcms cms
RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
Patch now. It under exploitation confirmed by CISA and has a working public exploit.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Craft CMS allows attackers to run malicious code on servers where a specific PHP setting (`register_argc_argv`) is enabled. This is a critical vulnerability that can give attackers full control of the website.
A remote code execution vulnerability exists in Craft CMS when the PHP `register_argc_argv` configuration directive is enabled, allowing unauthenticated attackers to execute arbitrary code through an unspecified vector. The vulnerability exploits PHP's automatic population of the `$argc` and `$argv` global variables, which can be manipulated to inject malicious payloads. Affected versions: 3.x < 3.9.14, 4.x < 4.13.2, 5.x < 5.5.2.
The full analysis of this CVE is available in Portuguese →
In the same product, most dangerous first.