Security restrictions bypass in Craft CMS



Published: 2023-08-21
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-40035
CWE-ID CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Craft CMS
Web applications / CMS

Vendor Pixel & Tonic, Inc.

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Path traversal

EUVDB-ID: #VU79808

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 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

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.



###SIDEBAR###