#VU22833 Code Injection in K2(PSG1218)


Published: 2019-11-19

Vulnerability identifier: #VU22833

Vulnerability risk: High

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

CVE-ID: CVE-2019-19117

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
K2(PSG1218)
Hardware solutions / Routers for home users

Vendor: PHICOMM

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.

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

Vulnerable software versions

K2(PSG1218): 22.5.9.163


External links
http://github.com/decentL/IoT/blob/master/Phicomm/remote-code-execution.md


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated 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.


Latest bulletins with this vulnerability