PT-2019-1345 · D Link · D-Link Dir-823G

David Chen

·

Published

2019-01-31

·

Updated

2023-04-26

·

CVE-2019-7297

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions D-Link DIR-823G devices with firmware through 1.02B03
Description An issue allows attackers to execute arbitrary OS commands via shell metacharacters in a crafted /HNAP1 request. This occurs when the GetNetworkTomographyResult function calls the system function with an untrusted input parameter named Address. Consequently, an attacker can execute any command remotely when they control this input. The vulnerability is related to insufficient input data cleaning used in commands.
Recommendations For D-Link DIR-823G devices with firmware through 1.02B03, consider disabling the GetNetworkTomographyResult function until a patch is available to prevent exploitation via the /HNAP1 request. Restrict access to the Address input parameter to minimize the risk of arbitrary command execution.

Exploit

Fix

OS Command Injection

Command Injection

Weakness Enumeration

Related Identifiers

BDU:2019-00683
CVE-2019-7297

Affected Products

D-Link Dir-823G