CVE-2024-52292CWE-22CWE-552

Craft Allows Attackers to Read Arbitrary System Files

High · published November 13, 2024

CVSS v3.1
7.7
EPSS
1%
Percentile
54.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00746 · 54.3th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-552 · Files or Directories Accessible to External Parties
Published
2024-11-13T16:08Z
EPSS history
Timeline
  • 13 NOV 16:08Z
    Craft Allows Attackers to Read Arbitrary System Files
    cvelistv5