CVE-2023-32151
D-Link DIR-2640 HNAP1 DestNetwork Command Injection Remote Code Execution
Description
D-Link DIR-2640 DestNetwork 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 DestNetwork 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-19548.
INFO
Published Date :
May 3, 2024, 2:15 a.m.
Last Modified :
Aug. 6, 2025, 2:17 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.0 | MEDIUM | [email protected] |
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-32151
.
URL | Resource |
---|---|
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 | Product Vendor Advisory |
https://www.zerodayinitiative.com/advisories/ZDI-23-543/ | Third Party Advisory |
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 | Product Vendor Advisory |
https://www.zerodayinitiative.com/advisories/ZDI-23-543/ | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-32151
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-32151
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-32151
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-32151
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 06, 2025
Action Type Old Value New Value Added CPE Configuration AND OR *cpe:2.3:o:dlink:dir-2640_firmware:1.11b02:*:*:*:*:*:*:* OR cpe:2.3:h:dlink:dir-2640:-:*:*:*:*:*:*:* Added Reference Type Zero Day Initiative: https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 Types: Product, Vendor Advisory Added Reference Type Zero Day Initiative: https://www.zerodayinitiative.com/advisories/ZDI-23-543/ Types: Third Party Advisory Added Reference Type CVE: https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 Types: Product, Vendor Advisory Added Reference Type CVE: https://www.zerodayinitiative.com/advisories/ZDI-23-543/ Types: Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 Added Reference https://www.zerodayinitiative.com/advisories/ZDI-23-543/ -
CVE Modified by [email protected]
Sep. 18, 2024
Action Type Old Value New Value Changed Description D-Link DIR-2640 DestNetwork 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 DestNetwork 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-19548. D-Link DIR-2640 DestNetwork 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 DestNetwork 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-19548. -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Received by [email protected]
May. 03, 2024
Action Type Old Value New Value Added Description D-Link DIR-2640 DestNetwork 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 DestNetwork 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-19548. Added Reference Zero Day Initiative https://www.zerodayinitiative.com/advisories/ZDI-23-543/ [No types assigned] Added Reference Zero Day Initiative https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 [No types assigned] Added CWE Zero Day Initiative CWE-78 Added CVSS V3 Zero Day Initiative AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H