PHP file inclusion in October CMS - CVE-2020-5295

 

PHP file inclusion in October CMS - CVE-2020-5295

Published: June 6, 2020 / Updated: June 17, 2021


Vulnerability identifier: #VU28765
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2020-5295
CWE-ID: CWE-98
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: OctoberCMS
Affected software:
October CMS

Detailed vulnerability description

The vulnerability allows a remote user to include and execute arbitrary PHP files on the server.

The vulnerability exists due to incorrect input validation when including PHP files. A remote authenticated user with `cms.manage_assets` permission can send a specially crafted HTTP request to the affected application, include and execute arbitrary PHP code on the system with privileges of the web server.


How to mitigate CVE-2020-5295

Install updates from vendor's website.

Sources