ID

VAR-202305-0215


CVE

CVE-2023-32151


TITLE

D-Link Systems, Inc.  of  DIR-2640  in the firmware  OS  Command injection vulnerability

Trust: 0.8

sources: JVNDB: JVNDB-2023-029387

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 Systems, Inc. of DIR-2640 The firmware has OS A command injection vulnerability exists.Information is obtained, information is tampered with, and service operation is interrupted. (DoS) It may be in a state. The D-Link DIR-2640 is a high-power Wi-Fi router from D-Link (Taiwan), supporting the AC2600 WiFi standard and featuring dual-band (2.4GHz and 5GHz) network transmission

Trust: 2.88

sources: NVD: CVE-2023-32151 // JVNDB: JVNDB-2023-029387 // ZDI: ZDI-23-543 // CNVD: CNVD-2025-25599 // VULMON: CVE-2023-32151

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2025-25599

AFFECTED PRODUCTS

vendor:d linkmodel:dir-2640scope: - version: -

Trust: 2.1

vendor:dlinkmodel:dir-2640scope:eqversion:1.11b02

Trust: 1.0

vendor:d linkmodel:dir-2640scope:eqversion:dir-2640 firmware 1.11b02

Trust: 0.8

vendor:d linkmodel:dir-2640scope:eqversion: -

Trust: 0.8

sources: ZDI: ZDI-23-543 // CNVD: CNVD-2025-25599 // JVNDB: JVNDB-2023-029387 // NVD: CVE-2023-32151

CVSS

SEVERITY

CVSSV2

CVSSV3

zdi-disclosures@trendmicro.com: CVE-2023-32151
value: MEDIUM

Trust: 1.0

OTHER: JVNDB-2023-029387
value: MEDIUM

Trust: 0.8

ZDI: CVE-2023-32151
value: MEDIUM

Trust: 0.7

CNVD: CNVD-2025-25599
value: HIGH

Trust: 0.6

CNVD: CNVD-2025-25599
severity: HIGH
baseScore: 7.2
vectorString: AV:A/AC:L/AU:M/C:C/I:C/A:C
accessVector: ADJACENT_NETWORK
accessComplexity: LOW
authentication: MULTIPLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 4.1
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

zdi-disclosures@trendmicro.com: CVE-2023-32151
baseSeverity: MEDIUM
baseScore: 6.8
vectorString: CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
attackVector: ADJACENT
attackComplexity: LOW
privilegesRequired: HIGH
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 0.9
impactScore: 5.9
version: 3.0

Trust: 1.0

OTHER: JVNDB-2023-029387
baseSeverity: MEDIUM
baseScore: 6.8
vectorString: CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
attackVector: ADJACENT NETWORK
attackComplexity: LOW
privilegesRequired: HIGH
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

ZDI: CVE-2023-32151
baseSeverity: MEDIUM
baseScore: 6.8
vectorString: AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
attackVector: ADJACENT
attackComplexity: LOW
privilegesRequired: HIGH
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 0.9
impactScore: 5.9
version: 3.0

Trust: 0.7

sources: ZDI: ZDI-23-543 // CNVD: CNVD-2025-25599 // JVNDB: JVNDB-2023-029387 // NVD: CVE-2023-32151

PROBLEMTYPE DATA

problemtype:CWE-78

Trust: 1.0

problemtype:OS Command injection (CWE-78) [ others ]

Trust: 0.8

sources: JVNDB: JVNDB-2023-029387 // NVD: CVE-2023-32151

PATCH

title:D-Link has issued an update to correct this vulnerability.url:https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10323

Trust: 0.7

title:Patch for D-Link DIR-2640 Command Injection Vulnerabilityurl:https://www.cnvd.org.cn/patchInfo/show/747311

Trust: 0.6

sources: ZDI: ZDI-23-543 // CNVD: CNVD-2025-25599

EXTERNAL IDS

db:NVDid:CVE-2023-32151

Trust: 4.0

db:ZDIid:ZDI-23-543

Trust: 2.6

db:DLINKid:SAP10323

Trust: 1.8

db:JVNDBid:JVNDB-2023-029387

Trust: 0.8

db:ZDI_CANid:ZDI-CAN-19548

Trust: 0.7

db:CNVDid:CNVD-2025-25599

Trust: 0.6

db:VULMONid:CVE-2023-32151

Trust: 0.1

sources: ZDI: ZDI-23-543 // CNVD: CNVD-2025-25599 // VULMON: CVE-2023-32151 // JVNDB: JVNDB-2023-029387 // NVD: CVE-2023-32151

REFERENCES

url:https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=sap10323

Trust: 2.5

url:https://www.zerodayinitiative.com/advisories/zdi-23-543/

Trust: 1.9

url:https://nvd.nist.gov/vuln/detail/cve-2023-32151

Trust: 0.8

url:http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2023-32151

Trust: 0.6

sources: ZDI: ZDI-23-543 // CNVD: CNVD-2025-25599 // VULMON: CVE-2023-32151 // JVNDB: JVNDB-2023-029387 // NVD: CVE-2023-32151

CREDITS

Anonymous

Trust: 0.7

sources: ZDI: ZDI-23-543

SOURCES

db:ZDIid:ZDI-23-543
db:CNVDid:CNVD-2025-25599
db:VULMONid:CVE-2023-32151
db:JVNDBid:JVNDB-2023-029387
db:NVDid:CVE-2023-32151

LAST UPDATE DATE

2025-11-19T23:10:12.734000+00:00


SOURCES UPDATE DATE

db:ZDIid:ZDI-23-543date:2023-05-04T00:00:00
db:CNVDid:CNVD-2025-25599date:2025-10-29T00:00:00
db:JVNDBid:JVNDB-2023-029387date:2025-08-07T03:31:00
db:NVDid:CVE-2023-32151date:2025-08-06T14:17:26.917

SOURCES RELEASE DATE

db:ZDIid:ZDI-23-543date:2023-05-04T00:00:00
db:CNVDid:CNVD-2025-25599date:2025-10-29T00:00:00
db:JVNDBid:JVNDB-2023-029387date:2025-08-07T00:00:00
db:NVDid:CVE-2023-32151date:2024-05-03T02:15:19.500