VULNERABILITY INTELLIGENCE
CVE-2023-32151
CVSS score6.8 MEDIUM
EPSS probability1.80%
CISA KEVNot currently listed
Published2024-05-03
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Primary references
- zdi-disclosures@trendmicro.com — Product, Vendor Advisory
- zdi-disclosures@trendmicro.com — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Product, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory