ZDI-23-1826: D-Link G416 httpd API-AUTH Digest Processing 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 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 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-50210.
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-23-1826?
The severity of ZDI-23-1826 is critical due to the potential for arbitrary code execution by unauthenticated attackers.
How do I fix ZDI-23-1826?
To fix ZDI-23-1826, users should apply the latest firmware update provided by D-Link for the G416 router.
Who is affected by ZDI-23-1826?
ZDI-23-1826 affects all installations of the D-Link G416 router that have the vulnerable HTTP service.
Can ZDI-23-1826 be exploited remotely?
Yes, ZDI-23-1826 can be exploited remotely by network-adjacent attackers without the need for authentication.
What type of vulnerability is ZDI-23-1826?
ZDI-23-1826 is a remote code execution vulnerability caused by flaws in the HTTP service on TCP port 80.