Skip to content
OpenAdvisories
High · 7.2 CVE-2024-52293 EUVD-2024-3241GHSA-f3cw-hg6r-chfv

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

Published Nov 13, 2024 · Updated Nov 13, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
craftcms cms >= 4.0.0-RC1, < 4.12.2, >= 5.0.0-RC1, < 5.4.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist craftcms/cms >= 4.0.0-RC1, < 4.12.2 4.12.2 GHSA-f3cw-hg6r-chfv
Packagist craftcms/cms >= 5.0.0-RC1, < 5.4.3 5.4.3 GHSA-f3cw-hg6r-chfv

References