Remote code execution in PHICOMM K2(PSG1218)



Published: 2019-11-19
Risk High
Patch available NO
Number of vulnerabilities 1
CVE-ID CVE-2019-19117
CWE-ID CWE-94
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
K2(PSG1218)
Hardware solutions / Routers for home users

Vendor PHICOMM

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Code Injection

EUVDB-ID: #VU22833

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 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

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.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected device in order to exploit this vulnerability.

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###