CVE-2024-52293CWE-22

Craft has a Potential Remote Code Execution via missing path normalization & Twig SSTI

High · published November 13, 2024

CVSS v3.1
7.2
EPSS
1%
Percentile
71.5
In the wild
Unconfirmed
What it is

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 is fixed in 4.12.2 and 5.4.3.

The record
Technical detail
CVSS v3.1
7.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01358 · 71.5th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-11-13T16:04Z
EPSS history
Timeline
  • 13 NOV 16:04Z
    Craft has a Potential Remote Code Execution via missing path normalization & Twig SSTI
    cvelistv5