Buffer overflow in D-Link G416
CVE-2023-50209
D-Link G416 cfgsave Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link G416 wireless routers. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the HTTP service listening on TCP port 80. 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-21442.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 51.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- D-Link G416 — versions 1.08b02
- Dlink G416 Firmware
Weakness classification (CWE)
References
- ZDI-23-1825 (x_research-advisory, Third Party Advisory)
- vendor-provided URL (vendor-advisory, Mitigation, Vendor Advisory)