OS Command Injection in DIR-823G - CVE-2019-7297

 

OS Command Injection in DIR-823G - CVE-2019-7297

Published: February 4, 2019 / Updated: February 6, 2019


Vulnerability identifier: #VU17369
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2019-7297
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: D-Link
Affected software:
DIR-823G

Detailed vulnerability description

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

The vulnerability exists due to insufficient validation of user-supplied input. A remote unauthenticated attacker can execute arbitrary OS commands via shell metacharacters in a crafted /HNAP1 request when the GetNetworkTomographyResult function calls the system function with an untrusted input parameter named Address.

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


How to mitigate CVE-2019-7297

Install updates from vendor's website.

Sources