Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Craftcms | Craft Cms | >= 3.5.13, < 4.12.8 |
Related Weaknesses (CWE)
References
- https://github.com/craftcms/cms/security/advisories/GHSA-cw6g-qmjq-6w2wExploitVendor Advisory
FAQ
What is CVE-2024-52292?
CVE-2024-52292 is a vulnerability with a CVSS score of 7.7 (HIGH). 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, re...
How severe is CVE-2024-52292?
CVE-2024-52292 has been rated HIGH with a CVSS base score of 7.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-52292?
Check the references section above for vendor advisories and patch information. Affected products include: Craftcms Craft Cms.