
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
Craft CMS, a content management system, was found to have a critical vulnerability (CVE-2024-52293) affecting versions prior to 4.12.2 and 5.4.3. The vulnerability stems from missing normalizePath in the FileHelper::absolutePath function, which could lead to Remote Code Execution (RCE) on the server via Twig Server-Side Template Injection (SSTI). This vulnerability is considered a sequel to CVE-2023-40035 (GitHub Advisory).
The vulnerability exists in the FileHelper::absolutePath function where the path normalization was missing, returning $from . $ds . $to without proper normalization. This oversight allows bypassing the isSystemDir security check, enabling the creation of a Local filesystem within system directories. The vulnerability can be exploited by creating a new asset volume with the compromised filesystem, uploading a .ttml file containing malicious Twig code, and executing it through a new route. The CVSS v3.1 base score is 7.2 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (GitHub Advisory).
The vulnerability can lead to system compromise through Remote Code Execution, enabling attackers to take control of vulnerable systems, perform data exfiltration, execute malware, and potentially use the compromised system for pivoting to other targets. Despite requiring authenticated access and ALLOWADMINCHANGES=true configuration, the potential for RCE presents a significant security threat (GitHub Advisory).
The vulnerability has been patched in versions 4.12.2 and 5.4.3. The fix involves properly implementing path normalization in the FileHelper::absolutePath function. Users are strongly advised to upgrade to these patched versions to mitigate the risk (GitHub Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
Get a personalized demo
“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
“We know that if Wiz identifies something as critical, it actually is.”