SB2023051932 - Server-side template injection in Craft CMS



SB2023051932 - Server-side template injection in Craft CMS

Published: May 19, 2023

Security Bulletin ID SB2023051932
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Code Injection (CVE-ID: CVE-2023-32679)

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to the way the application handles uploaded files. A remote user can upload a text file with a malicious payload and execute it on the server, as it will be rendered as a template file.

Successful exploitation of this vulnerability requires that the "ALLOW_ADMIN_CHANGES" option is set to "true".


Remediation

Install update from vendor's website.