CVE-2024-52293
Published: 13 November 2024
Summary
CVE-2024-52293 is a high-severity Path Traversal (CWE-22) vulnerability in Craftcms Craft Cms. Its CVSS base score is 7.2 (High).
Operationally, ranked in the top 4.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
Craft CMS versions prior to 4.12.2 and 5.4.3 contain a path traversal flaw in the FileHelper::absolutePath function caused by the absence of normalizePath handling. The issue enables Twig server-side template injection that can be leveraged for remote code execution and is tracked under CWE-22 as a direct sequel to CVE-2023-40035. The vulnerability carries a CVSS 3.1 score of 7.2.
An authenticated attacker with high privileges can supply a crafted path over the network to traverse the file system and execute arbitrary code on the server. No user interaction is required, and the attack impacts confidentiality, integrity, and availability.
The official fix is included in Craft CMS 4.12.2 and 5.4.3. The project’s GitHub security advisory GHSA-f3cw-hg6r-chfv and the referenced commit detail the addition of normalizePath to close the traversal vector.
The EPSS score has remained flat at 0.2199 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-3241
Vulnerability details
Craft is a content management system (CMS). Prior to 4.12.2 and 5.4.3, Craft is missing normalizePath in the function FileHelper::absolutePath could lead to Remote Code Execution on the server via twig SSTI. This is a sequel to CVE-2023-40035. This vulnerability…
more
is fixed in 4.12.2 and 5.4.3.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Validates pathnames and filenames to prevent traversal outside intended directories.