CVE-2024-52292
Last modified
CVE-2024-52292 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. Craft is a content management system (CMS). The dataUrl function can be exploited if an attacker has write permissions on system notification templates. EPSS estimates a 0.66% chance of exploitation in the next 30 days.
Description
Craft is a content management system (CMS). The dataUrl function can be exploited if an attacker has write permissions on system notification templates. This function accepts an absolute file path, reads the file's content, and converts it into a Base64-encoded string. By embedding this function within a system notification template, the attacker can exfiltrate the Base64-encoded file content through a triggered system email notification. Once the email is received, the Base64 payload can be decoded, allowing the attacker to read arbitrary files on the server. This is fixed in 5.4.9 and 4.12.8.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Craftcms | Craft Cms | >= 3.5.13, < 4.12.8 |
| Craftcms | Craft Cms | >= 5.0.0, < 5.4.9 |
References
- https://github.com/craftcms/cms/security/advisories/GHSA-cw6g-qmjq-6w2wExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-52292?
How severe is CVE-2024-52292?
How do I fix CVE-2024-52292?
Are you affected by CVE-2024-52292?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
