#VU79808 Path traversal in Craft CMS - CVE-2023-40035

 

#VU79808 Path traversal in Craft CMS - CVE-2023-40035

Published: August 21, 2023


Vulnerability identifier: #VU79808
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-40035
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Craft CMS
Software vendor:
Pixel & Tonic, Inc.

Description

The vulnerability allows a remote user to upload files to arbitrary locations.

The vulnerability exists due to input validation error within the validatePath function. A remote user can upload a malicious PHP template file and execute it on the server.

Successful exploitation requires "ALLOW_ADMIN_CHANGES=true" configuration.


Remediation

Install update from vendor's website.

External links