Local PHP file inclusion in Gila CMS - CVE-2019-16679

 

Local PHP file inclusion in Gila CMS - CVE-2019-16679

Published: September 23, 2019 / Updated: June 17, 2021


Vulnerability identifier: #VU21276
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2019-16679
CWE-ID: CWE-98
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Gila CMS
Affected software:
Gila CMS

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 "f" parameter in "admin/fm" URL. A remote authenticated administrator 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.

PoC:

http://[host]/admin/fm/?f=src../../../../../../../../../WINDOWS/system32/drivers/etc/hosts


How to mitigate CVE-2019-16679

Install updates from vendor's website.

Sources