#VU87179 Server-side template injection in Craft CMS


Published: 2024-03-07

Vulnerability identifier: #VU87179

Vulnerability risk: Medium

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Craft CMS
Web applications / CMS

Vendor: Pixel & Tonic, Inc.

Description

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

The vulnerability exists due to improper input validation. A remote attacker can send a specially crafted request, include and execute arbitrary PHP code via a crafted template.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Craft CMS: 3.0.0 - 4.8.0


External links
http://github.com/craftcms/cms/releases/tag/3.9.11
http://github.com/craftcms/cms/releases/tag/4.8.1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability