Vulnerabilities/

CVE-2024-56145

CVE

CVE-2024-56145

Craft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled

Severity

Critical

Base CVSS

0.0

Fixed in

5.5.2,4.13.2,3.9.14

Description

Impact

You are affected if your php.ini configuration has registerargcargv enabled.

Patches

Update to 3.9.14, 4.13.2, or 5.5.2.

Workarounds

If you can't upgrade yet, and registerargcargv is enabled, you can disable it to mitigate the issue.

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

Critical

9.3

4.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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

OSV

0

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H

Endor Labs

Required action

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Known ransomware campaign use

Unknown

References

https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9, https://nvd.nist.gov/vuln/detail/CVE-2024-56145, https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3, https://github.com/Chocapikk/CVE-2024-56145, https://github.com/craftcms/cms, https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-56145

Basic information

Base CVSS

0.0

EPSS probability

1.0

EPSS percentile

0.99894

Introduced version

5.0.0-RC1,4.0.0-RC1,3.0.0

Fix available

5.5.2,4.13.2,3.9.14

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.