PT-2018-3877 · D Link · D-Link Dir-823G

Published

2018-10-02

·

Updated

2023-04-26

·

CVE-2018-17787

CVSS v2.0

10

High

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions D-Link DIR-823G devices
Description The issue concerns the GoAhead configuration on D-Link DIR-823G devices, which allows command injection via shell metacharacters in the POST data sent to the system library function. This is due to the lack of measures to neutralize special elements used in the operating system command. An attacker can exploit this issue by sending specially crafted /HNAP1 requests, allowing them to execute arbitrary commands remotely through shell metacharacters.
Recommendations For D-Link DIR-823G devices, consider disabling the GoAhead configuration or restricting access to the /HNAP1 endpoint until a patch is available. Avoid using shell metacharacters in the POST data to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

OS Command Injection

Weakness Enumeration

Related Identifiers

BDU:2023-02766
CVE-2018-17787

Affected Products

D-Link Dir-823G