#VU79808 Path traversal in Craft CMS


Published: 2023-08-21

Vulnerability identifier: #VU79808

Vulnerability risk: Low

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

CVE-ID: CVE-2023-40035

CWE-ID: CWE-22

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 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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Craft CMS: 3.0.0 - 4.4.14


External links
http://github.com/craftcms/cms/security/advisories/GHSA-44wr-rmwq-3phw


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged 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