CVE-2024-52292

High

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.

SeverityHigh
CVSS7.7
Exploit probability—
ProductCraftcms Craft Cms
PublishedNov 13, 2024
First seenNov 13, 2024

How to fix

Update
  • craftcms craft_cms4.12.8, 5.4.9 or later
  • craftcms/cms5.4.9, 4.12.8 or later

Affected products

ProductAffected versionsFixed in
craftcms craft_cms3.5.13 ≤ v < 4.12.8, 5.0.0 ≤ v < 5.4.94.12.8, 5.4.9
craftcms/cmsPackagist5.0.0-alpha.1 ≤ v < 5.4.9, 3.5.13 ≤ v < 4.12.85.4.9, 4.12.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.