Vulnerability identifier: #VU76378
Vulnerability risk: Medium
CVSSv3.1: 6.7 [CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]
CVE-ID:
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 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".
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Craft CMS: 4.0.0 - 4.4.11
External links
http://github.com/craftcms/cms/security/advisories/GHSA-vqxf-r9ph-cc9c
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. However, proof of concept for this vulnerability is available.