Local PHP file inclusion in Gila CMS



Published: 2019-09-23
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-16679
CWE-ID CWE-98
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Gila CMS
Web applications / CMS

Vendor Gila CMS

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Local PHP file inclusion

EUVDB-ID: #VU21276

Risk: Low

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

CVE-ID: CVE-2019-16679

CWE-ID: CWE-98 - Improper Control of Filename for Include/Require Statement in PHP Program

Exploit availability: Yes

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

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Gila CMS: 0.1 - 1.10.9

External links

http://github.com/GilaCMS/gila/issues/33
http://github.com/GilaCMS/gila/releases/tag/1.11.1


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. However, proof of concept for this vulnerability is available.



###SIDEBAR###