CVE-2024-56145: RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms

9.3 CVSS

Description

Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Users of affected versions are affected by this vulnerability if their php.ini configuration has `register_argc_argv` enabled. For these users an unspecified remote code execution vector is present. Users are advised to update to version 4.13.2 or 5.5.2. Users unable to upgrade should disable `register_argc_argv` to mitigate the issue.

Classification

CVE ID: CVE-2024-56145

CVSS Base Severity: CRITICAL

CVSS Base Score: 9.3

Affected Products

Vendor: craftcms

Product: cms

Nuclei Template

http/cves/2024/CVE-2024-56145.yaml

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.15% (probability of being exploited)

EPSS Percentile: 51.59% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://github.com/craftcms/cms/security/advisories/GHSA-2p6p-9rc9-62j9
https://github.com/craftcms/cms/commit/82e893fb794d30563da296bca31379c0df0079b3

Timeline