Vulnerabilities · 2024 · Craftcms
CVE-2024-52291
Craftcms Craft Cms vulnerability
Craft is a content management system (CMS). A vulnerability in CraftCMS allows an attacker to bypass local file system validation by utilizing a double file:// scheme (e.g., file://file:////). This enables the attacker to specify sensitive folders as the file system, leading to potential file overwriting through malicious uploads, unauthorized access to sensitive files, and, under certain conditions, remote code execution (RCE) via Server-Side Template Injection (SSTI) payloads. Note that this will only work if you have an authenticated administrator account with allowAdminChanges enabled. This is fixed in 5.4.6 and 4.12.5.
Affected products
Craft Cms. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Craftcms Craft Cms runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Craftcms products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.