CVE-2023-32150Dlink Dir-2640 Firmware
Medium 6.8
Follow: this CVE · Dlink · Dlink Dir-2640 Firmware We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.0
- 6.8
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- Yes
- Published
- May 3, 2024
- Updated
- Jun 17, 2026
- Category
- Network & edge · Network appliance
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
D-Link DIR-2640 PrefixLen 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 PrefixLen 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-19547.
What to do
- Apply the vendor's security update for Dir-2640 Firmware.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dlink | dir-2640_firmware | 1.11b02 |
Official sources
References
Links published by the sources. Open them with care.
- supportannouncement.us.dlink.com Product Vendor Advisory
- www.zerodayinitiative.com Third Party Advisory