#VU101835 Exposed dangerous method or function in Craft CMS - CVE-2024-56145


| Updated: 2025-06-02

Vulnerability identifier: #VU101835

Vulnerability risk: High

CVSSv4.0: 9.3 [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: Network

Exploit availability: Yes

Vulnerable software:
Craft CMS
Web applications / CMS

Vendor: 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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Craft CMS: 4.0.0 - 5.5.1.1


External links
https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9
https://github.com/advisories/GHSA-2p6p-9rc9-62j9


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.


Latest bulletins with this vulnerability