ZDI-CAN-21442: ZDI-23-1825: 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.
Other sources
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 ZDI has assigned a CVSS rating of 8.8. The following CVEs are assigned: CVE-2023-50209.
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-21442?
The severity of ZDI-CAN-21442 is classified as critical due to the potential for arbitrary code execution by unauthorized attackers.
How do I fix ZDI-CAN-21442?
To mitigate ZDI-CAN-21442, users should update their D-Link G416 wireless routers to the latest firmware version provided by D-Link.
Which devices are affected by ZDI-CAN-21442?
ZDI-CAN-21442 specifically affects D-Link G416 wireless routers.
Is authentication required to exploit ZDI-CAN-21442?
No, authentication is not required to exploit ZDI-CAN-21442, making it more critical.
What is the nature of the flaw in ZDI-CAN-21442?
The flaw in ZDI-CAN-21442 exists within the HTTP service running on TCP port 80, allowing remote code execution.