We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-52292

Craft Allows Attackers to Read Arbitrary System Files



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.

Reserved 2024-11-06 | Published 2024-11-13 | Updated 2024-11-13 | Assigner GitHub_M


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

Problem types

CWE-552: Files or Directories Accessible to External Parties

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

>= 5.0.0-alpha.1, < 5.4.9
affected

>= 3.5.13, < 4.12.8
affected

References

github.com/...ms/cms/security/advisories/GHSA-cw6g-qmjq-6w2w

cve.org (CVE-2024-52292)

nvd.nist.gov (CVE-2024-52292)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-52292

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.