CVE-2024-52292

HIGH
Published Nov 13, 2024 Modified Nov 19, 2024 CWE-22 CWE-552

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.

Is your site exposed to CVE-2024-52292?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.7
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Weakness Type (CWE)

CWE-22 Path Traversal
CWE-552 CWE-552

Affected Products

Vendor Product
craftcms craft_cms
craftcms craft_cms

References

Frequently Asked Questions

What is CVE-2024-52292? +
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. It has a CVSS v3.1 base score of 7.7 (HIGH).
How severe is CVE-2024-52292? +
CVE-2024-52292 has a CVSS v3.1 score of 7.7 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-52292? +
CVE-2024-52292 affects products from craftcms, specifically: craft_cms. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-52292? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-52292 — free, no signup required.