Code Injection in K2(PSG1218) - CVE-2019-19117

 

Code Injection in K2(PSG1218) - CVE-2019-19117

Published: November 19, 2019


Vulnerability identifier: #VU22833
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2019-19117
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PHICOMM
Affected software:
K2(PSG1218)

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in the "/usr/lib/lua/luci/controller/admin/autoupgrade.lua" file in "save()" function. A remote authenticated attacker can send a specially crafted request and execute arbitrary code via shell metacharacters in the "cgi-bin/luci" URL in "autoUpTime" parameter.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2019-19117

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources