CVE-2024-52291
CraftCMS File System Bypass Vulnerability (RCE/SSIT)
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.
INFO
Published Date :
Nov. 13, 2024, 5:15 p.m.
Last Modified :
Nov. 19, 2024, 6:06 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
1.7
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-52291
.
URL | Resource |
---|---|
https://github.com/craftcms/cms/security/advisories/GHSA-jrh5-vhr9-qh7q | Exploit Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-52291
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-52291
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 19, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/craftcms/cms/security/advisories/GHSA-jrh5-vhr9-qh7q No Types Assigned https://github.com/craftcms/cms/security/advisories/GHSA-jrh5-vhr9-qh7q Exploit, Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* versions from (excluding) 4.0.0 up to (excluding) 4.12.5 *cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* versions from (excluding) 5.0.0 up to (excluding) 5.4.6 -
CVE Received by [email protected]
Nov. 13, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/craftcms/cms/security/advisories/GHSA-jrh5-vhr9-qh7q [No types assigned] Added CWE GitHub, Inc. CWE-22 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-52291
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-52291
weaknesses.