CVE-2024-52293
High
Description
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.
SeverityHigh
CVSS7.2
Exploit probability—
Product
Craftcms Craft Cms
PublishedNov 13, 2024
First seenNov 13, 2024
Weakness typeCWE-22Path traversal
How to fix
Update
- craftcms craft_cms4.12.2, 5.4.3 or later
- craftcms/cms4.12.2, 5.4.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms craft_cms | 4.0.0 < v < 4.12.2, 5.0.0 < v < 5.4.3, 4.0.0, 5.0.0 | 4.12.2, 5.4.3 |
| craftcms/cmsPackagist | 4.0.0-RC1 ≤ v < 4.12.2, 5.0.0-RC1 ≤ v < 5.4.3 | 4.12.2, 5.4.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.