PHP file inclusion in R-SeeNet - CVE-2021-21804

 

PHP file inclusion in R-SeeNet - CVE-2021-21804

Published: July 16, 2021


Vulnerability identifier: #VU54931
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-21804
CWE-ID: CWE-98
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Advantech Co., Ltd
Affected software:
R-SeeNet

Detailed vulnerability description

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

The vulnerability exists due to incorrect input validation when including PHP files in the "sub_opt" parameter in the options.php script functionality. A remote attacker 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-2021-21804

Install updates from vendor's website.

Sources