Stack-based buffer overflow in D-Link DIR-2640
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.
Summary
D-Link DIR-2640 prog.cgi Request Handling Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2640 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the web management interface, which listens on TCP port 80 by default. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. . Was ZDI-CAN-19546.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| D-Link | DIR-2640 | 1.11B02 (non-US, CA version) | — | No fix listed | CNA |
- DIR-2640 VendorD-Link Affected 1.11B02 (non-US, CA version) Fixed in — No fix listed CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:dlink:dir-2640_firmware:1.11b02:*:*:*:*:*:*:* | 1.11b02 | Vulnerable | D-Link Japan K.K. |
| cpe:2.3:h:dlink:dir-2640:-:*:*:*:*:*:*:* | not specified by NVD | Running on | D-Link Japan K.K. |
- cpe:2.3:o:dlink:dir-2640_firmware:1.11b02:*:*:*:*:*:*:* Versions 1.11b02 Vulnerable ·D-Link Japan K.K.
- cpe:2.3:h:dlink:dir-2640:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·D-Link Japan K.K.
Remediation
No fixed version listed by the sources yet.
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
D-Link DIR-2640 — vendor-provided URL
7 records Highest priority Priority MEDIUM 5 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2023-15456 OS command injection in D-Link DIR-2640Priority MEDIUM 54
- TI-2023-15453 OS command injection in D-Link DIR-2640Priority MEDIUM 54
- TI-2023-15455 D-Link DIR-2640 HNAP LoginPassword Authentication Bypass VulnerabilityPriority MEDIUM 52
Timeline
- 2026-10-02 Threatist record created from CVE-2023-32149
- 2026-10-03 Alias added: GHSA-vxm9-627c-qcvh
References
Advisory 2
More D-Link vulnerabilities
- TI-2024-03070 D-Link DNS-320L/DNS-325/DNS-327L/DNS-340L HTTP GET Request nas_sharing.cgi command injection KEVCVSS 3.1CRITICAL 9.8
- TI-2024-03069 D-Link DNS-320L/DNS-325/DNS-327L/DNS-340L HTTP GET Request nas_sharing.cgi hard-coded credentials KEVCVSS 3.1CRITICAL 9.8
- TI-2024-00708 D-Link DIR-859 HTTP POST Request hedwig.cgi path traversal KEVCVSS 3.1CRITICAL 9.8
- TI-2023-10693 OS Command injection vulnerability in D-Link DIR820LA1_FW105B03 allows attackers to… KEVCVSS 3.1CRITICAL 9.8
- TI-2022-17249 D-Link Go-RT-AC750 GORTAC750_revA_v101b03 and GO-RT-AC750_revB_FWv200b02 are vulnerable… KEVCVSS 3.1CRITICAL 9.8
- TI-2022-09657 D-Link DIR-820L 1.05B03 was discovered to contain remote command execution (RCE)… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2023-32149 · CVE Program
- CVE-2023-32149 · NVD
- FIRST EPSS
- GHSA-vxm9-627c-qcvh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences