CVE-2024-52291
Last modified
CVE-2024-52291 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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:////). EPSS estimates a 1.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Craftcms | Craft Cms | > 4.0.0, < 4.12.5 | — |
| Craftcms | Craft Cms | > 5.0.0, < 5.4.6 | — |
| Craftcms | Craft Cms | 4.0.0 | Rc1 |
| Craftcms | Craft Cms | 5.0.0 | Rc1 |
References
- https://github.com/craftcms/cms/security/advisories/GHSA-jrh5-vhr9-qh7qExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-52291?
How severe is CVE-2024-52291?
How do I fix CVE-2024-52291?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-52286Stirling-PDF is a locally hosted web application that allows…2
- CVE-2024-52287authentik is an open-source identity provider. When using th…7.2
- CVE-2024-52288libosdp is an implementation of IEC 60839-11-5 OSDP (Open Su…5.1
- CVE-2024-52289authentik is an open-source identity provider. Redirect URIs…9.8
- CVE-2024-5229The Primary Addon for Elementor plugin for WordPress is vuln…6.4
- CVE-2024-52290LF Edge eKuiper is a lightweight internet of things (IoT) da…5.4
- CVE-2024-52292Craft is a content management system (CMS). The dataUrl func…6.5
- CVE-2024-52293Craft is a content management system (CMS). Prior to 4.12.2 …7.2
- CVE-2024-52294Khoj is a self-hostable artificial intelligence app. Prior t…4.3
- CVE-2024-52295DataEase is an open source data visualization analysis tool.…9.8
- CVE-2024-52296libosdp is an implementation of IEC 60839-11-5 OSDP (Open Su…6.5
- CVE-2024-52297Tolgee is an open-source localization platform. Tolgee 3.81.…7.5
Are you affected by CVE-2024-52291?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
