CVE-2024-52291
Nov. 19, 2024, 6:06 p.m.
Tags
CVSS Score
Products Impacted
Vendor | Product | Versions |
---|---|---|
craftcms |
|
|
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.
Weaknesses
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CWE ID: 22Date
Published: Nov. 13, 2024, 5:15 p.m.
Last Modified: Nov. 19, 2024, 6:06 p.m.
Status : Analyzed
CVE has been recently published to the CVE List and has been received by the NVD.
More infoSource
security-advisories@github.com
CPEs
Type | Vendor | Product | Version | Update | Edition | Language | Software Edition | Target Software | Target Hardware | Other Information |
---|---|---|---|---|---|---|---|---|---|---|
a | craftcms | craft_cms | / | / | / | / | / | / | / | / |
a | craftcms | craft_cms | / | / | / | / | / | / | / | / |
a | craftcms | craft_cms | 4.0.0 | rc1 | / | / | / | / | / | / |
a | craftcms | craft_cms | 4.0.0 | rc2 | / | / | / | / | / | / |
a | craftcms | craft_cms | 4.0.0 | rc3 | / | / | / | / | / | / |
a | craftcms | craft_cms | 5.0.0 | rc1 | / | / | / | / | / | / |
CVSS Data
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Base Score
Exploitability Score
Impact Score
Base Severity
HIGHCVSS Vector String
The CVSS vector string provides an in-depth view of the vulnerability metrics.
View Vector StringCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H