#VU101835 Exposed dangerous method or function in Craft CMS - CVE-2024-56145
Published: December 18, 2024 / Updated: June 2, 2025
Vulnerability identifier: #VU101835
Vulnerability risk: High
CVSSv4.0: 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/E:A/U:Amber
CVE-ID: CVE-2024-56145
CWE-ID: CWE-749
Exploitation vector: Remote access
Exploit availability:
The vulnerability is being exploited in the wild
Vulnerable software:
Craft CMS
Craft CMS
Software vendor:
Pixel & Tonic, Inc.
Pixel & Tonic, Inc.
Description
The vulnerability allows a remote attacker to execute arbitrary PHP code on the system.
The vulnerability exists due to usage of unsafe code on systems with enabled register_argc_argv PHP option. A remote attacker can send a specially crafted HTTP request to the application and execute arbitrary PHP code on the system.
Remediation
Install updates from vendor's website.