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.
References
Link | Resource |
---|---|
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 | Product Vendor Advisory |
https://www.zerodayinitiative.com/advisories/ZDI-23-539/ | Third Party Advisory |
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 | Product Vendor Advisory |
https://www.zerodayinitiative.com/advisories/ZDI-23-539/ | Third Party Advisory |
Configurations
Configuration 1 (hide)
AND |
|
History
06 Aug 2025, 14:18
Type | Values Removed | Values Added |
---|---|---|
References | () https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 - Product, Vendor Advisory | |
References | () https://www.zerodayinitiative.com/advisories/ZDI-23-539/ - Third Party Advisory | |
First Time |
Dlink dir-2640
Dlink dir-2640 Firmware Dlink |
|
CPE | cpe:2.3:h:dlink:dir-2640:-:*:*:*:*:*:*:* cpe:2.3:o:dlink:dir-2640_firmware:1.11b02:*:*:*:*:*:*:* |
21 Nov 2024, 08:02
Type | Values Removed | Values Added |
---|---|---|
References | () https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 - | |
References | () https://www.zerodayinitiative.com/advisories/ZDI-23-539/ - |
18 Sep 2024, 19:15
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
|
Summary | (en) 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. |
03 May 2024, 02:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-05-03 02:15
Updated : 2025-08-06 14:18
NVD link : CVE-2023-32147
Mitre link : CVE-2023-32147
CVE.ORG link : CVE-2023-32147
JSON object : View
Products Affected
dlink
- dir-2640
- dir-2640_firmware
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')