CVE-2024-52292

HIGH

Craft CMS 3.5.13-4.12.7 and 5.0.0-alpha.1-5.4.8 - Authenticated Path Traversal via dataUrl Function

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 7.7
EPSS 0.0066
EPSS Percentile 46.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-22 CWE-552
Status published
Products (2)
craftcms/cms 5.0.0-alpha.1 - 5.4.9Packagist
craftcms/craft_cms 3.5.13 - 4.12.8
Published Nov 13, 2024
Tracked Since Feb 18, 2026