CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Craftcms

CVE-2024-52292
Craftcms Craft Cms vulnerability

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.

Affected products

Craft Cms. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Craftcms Craft Cms runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Craftcms products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.