Cyber Resilience

CVE-2024-52293

HighPublic PoC

Published: 13 November 2024

Published
13 November 2024
Modified
19 November 2024
KEV Added
Patch
CVSS Score v3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.2199 95.9th percentile
Risk Priority 28 60% EPSS · 20% KEV · 20% CVSS

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

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

craftcms
craft cms
4.0.0, 5.0.0 · 4.0.0 — 4.12.2 · 5.0.0 — 5.4.3

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.

addresses: CWE-22

Validates pathnames and filenames to prevent traversal outside intended directories.

References