Patch
CVE-2024-56145
with vRx
π Disable Vulnerable PHP Configuration
This script addresses the critical CVE-2024-56145 vulnerability in Craft CMS by remediating a risky PHP configuration setting: register_argc_argv. Craft CMS versions up to 3.x, 4.13.1, and 5.5.1 are affected by this vulnerability. When exploited, it can lead to remote code execution, compromising the security of the server.
This script scans all PHP .ini configuration files used by the system, detects the presence of register_argc_argv, and ensures it is securely set to Off. It also restarts the PHP service to apply the changes, reducing the risk of exploitation effectively.
π Why it Matters
π CVE-2024-56145: A severe vulnerability that can be exploited if register_argc_argv is enabled. Attackers can leverage this configuration for unauthorized code execution, putting the system and its data at significant risk.
π Configuration hardening: Disabling register_argc_argv is a crucial step to mitigate this vulnerability, especially for systems where immediate updates to Craft CMS are not feasible.
Read more
Read less
Patch faster and smarter
with vRx
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Trusted by 600+ customers:




Solution
βRemediate faster with vRx
Patch Management
vRx automatically deploys patches across all systems, cutting patching time by 80%.
Scripting Engine
vRxβs scripting engine solves complex vulnerabilities, like log4j, with built-in or custom scripts.
Patchless Protection
vRxβs Patchless Protection secures vulnerable apps and reduces risk while maintaining functionality.

Automated Patching, Scripting, and more
Talk with our team to get a personal walkthrough
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.