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-23-1825?
The severity of ZDI-23-1825 is critical due to its potential for remote code execution without authentication.
How do I fix ZDI-23-1825?
To fix ZDI-23-1825, update your D-Link G416 router to the latest firmware version provided by D-Link.
Who is affected by ZDI-23-1825?
ZDI-23-1825 affects all installations of the D-Link G416 wireless router.
What does ZDI-23-1825 allow an attacker to do?
ZDI-23-1825 allows network-adjacent attackers to execute arbitrary code on affected installations.
Is authentication required to exploit ZDI-23-1825?
No, authentication is not required to exploit the vulnerability identified as ZDI-23-1825.