Path Traversal in Craftcms Cms
CVE-2024-52291
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.012 (66.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 66th percentile — 66.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
Affected products
- Craftcms Cms — versions >= 5.0.0-RC1, < 5.4.6, >= 4.0.0-RC1, < 4.12.5
- Craftcms Craft Cms — versions 4.0.0, 5.0.0
Weakness classification (CWE)
References
- github.com/craftcms/cms/security/advisories/GHSA-jrh5-vhr9-qh7q (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2024-52291?
- CVE-2024-52291 is a high-severity vulnerability in Craftcms Cms, classified under Path Traversal. CVSS score: 8.4/10. Published 2024-11-13.
- How severe is CVE-2024-52291?
- High severity. CVSS v3 base score is 8.4 out of 10.