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—
ProductCraftcms Craft Cms
PublishedNov 13, 2024
First seenNov 13, 2024

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

ProductAffected versionsFixed in
craftcms craft_cms4.0.0 < v < 4.12.2, 5.0.0 < v < 5.4.3, 4.0.0, 5.0.04.12.2, 5.4.3
craftcms/cmsPackagist4.0.0-RC1 ≤ v < 4.12.2, 5.0.0-RC1 ≤ v < 5.4.34.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.