Lucene search

K
zdiAnonymousZDI-23-542
HistoryMay 04, 2023 - 12:00 a.m.

D-Link DIR-2640 PrefixLen Command Injection Remote Code Execution Vulnerability

2023-05-0400:00:00
Anonymous
www.zerodayinitiative.com
7
d-link dir-2640
command injection
remote code execution
vulnerability
network-adjacent
authentication bypass
hnap1 endpoint
system call
root context

0.0005 Low

EPSS

Percentile

19.2%

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2640 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the handling of the PrefixLen parameter provided to the HNAP1 endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root.

0.0005 Low

EPSS

Percentile

19.2%

Related for ZDI-23-542