CVE-2023-32147

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.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:dlink:dir-2640_firmware:1.11b02:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-2640:-:*:*:*:*:*:*:*

History

06 Aug 2025, 14:18

Type Values Removed Values Added
First Time Dlink
Dlink dir-2640
Dlink dir-2640 Firmware
References () https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 - () https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323 - Product, Vendor Advisory
References () https://www.zerodayinitiative.com/advisories/ZDI-23-539/ - () https://www.zerodayinitiative.com/advisories/ZDI-23-539/ - Third Party Advisory
CPE cpe:2.3:o:dlink:dir-2640_firmware:1.11b02:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-2640:-:*:*:*:*:*:*:*

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')