7.2

CVE-2024-52293

Exploit

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

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
CraftcmsCraft Cms Version > 4.0.0 < 4.12.2
CraftcmsCraft Cms Version > 5.0.0 < 5.4.3
CraftcmsCraft Cms Version4.0.0 Updaterc1
CraftcmsCraft Cms Version4.0.0 Updaterc2
CraftcmsCraft Cms Version4.0.0 Updaterc3
CraftcmsCraft Cms Version5.0.0 Updaterc1
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 1.31% 0.668
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.2 1.2 5.9
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
security-advisories@github.com 7.2 1.2 5.9
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

https://github.com/craftcms/cms/commit/123e48a696de1e2f63ab519d4730eb3b87beaa58
Patch
https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv
Vendor Advisory
Exploit