Buffer overflow in D-Link Dir-2640
CVE-2023-32149
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.012, 69.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- D-Link Dir-2640 — versions 1.11B02 (non-US, CA version)
- Dlink Dir-2640 Firmware — versions 1.11b02
Weakness classification (CWE)
References
- ZDI-23-541 (x_research-advisory, Third Party Advisory)
- vendor-provided URL (Product, vendor-advisory, Vendor Advisory)