D-Link DIR-2640 LocalIPAddress Command Injection Remote Code Execution Vulnerability. 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 LocalIPAddress 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. . Was ZDI-CAN-19544.
History

Wed, 06 Aug 2025 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Dlink dir-2640
CPEs cpe:2.3:h:dlink:dir-2640:-:*:*:*:*:*:*:*
Vendors & Products Dlink dir-2640

Wed, 18 Sep 2024 18:45:00 +0000

Type Values Removed Values Added
Description D-Link DIR-2640 LocalIPAddress Command Injection Remote Code Execution Vulnerability. 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 LocalIPAddress 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. Was ZDI-CAN-19544. D-Link DIR-2640 LocalIPAddress Command Injection Remote Code Execution Vulnerability. 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 LocalIPAddress 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. . Was ZDI-CAN-19544.

cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published: 2024-05-03T01:56:32.438Z

Updated: 2024-09-18T18:28:14.844Z

Reserved: 2023-05-03T20:10:47.059Z

Link: CVE-2023-32147

cve-icon Vulnrichment

Updated: 2024-08-02T15:03:29.093Z

cve-icon NVD

Status : Analyzed

Published: 2024-05-03T02:15:18.770

Modified: 2025-08-06T14:18:15.880

Link: CVE-2023-32147

cve-icon Redhat

No data.