CVE-2024-52292: craftcms cms Path Traversal
Vulnerability summary
CVE-2024-52292 is a high (CVSS 7.7) Path Traversal vulnerability in craftcms cms. EPSS estimates a 0.75% chance of exploitation in the next 30 days, higher than 54% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 13-11-2024PublishedVulnerability first disclosed.
- 13-11-2024Last modifiedVulnerability information updated.
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 metrics
2 scores · 2 sources · 1 version- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.75%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
+0.08 pp
From 0.67% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundCms
Maturity: poc
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-552Files or Directories Accessible to External PartiesThe product makes files or directories accessible to unauthorized actors, even though they should not be.
Affected systems
1 vendor · 2 products
References
1 links- github.com/craftcms/cms/security/advisories/GHSA-cw6g-qmjq-6w2wX Refsource CONFIRMExploitVendor Advisory