CVE-2024-52291

HIGH

Craft CMS 4.0.0-4.12.4 and 5.0.0-RC1-5.4.5 - Authenticated Path Traversal via Double file:// Scheme

Title source: llm
STIX 2.1

Description

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.

References (1)

Core 1
Core References

Scores

CVSS v3 8.4
EPSS 0.0114
EPSS Percentile 62.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-22
Status published
Products (4)
craftcms/cms 5.0.0-RC1 - 5.4.6Packagist
craftcms/craft_cms 4.0.0 rc1 (3 CPE variants)
craftcms/craft_cms 5.0.0 rc1
craftcms/craft_cms 4.0.0 - 4.12.5
Published Nov 13, 2024
Tracked Since Feb 18, 2026