ZDI-CAN-21662: 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-CAN-21662?
ZDI-CAN-21662 is classified as a high-severity vulnerability allowing arbitrary code execution.
How do I fix ZDI-CAN-21662?
To fix ZDI-CAN-21662, update your D-Link G416 router to the latest firmware provided by D-Link.
Who is affected by ZDI-CAN-21662?
The vulnerability affects users of D-Link G416 routers with exposed HTTP services.
What type of attacks can exploit ZDI-CAN-21662?
ZDI-CAN-21662 can be exploited by network-adjacent attackers to execute arbitrary code without authentication.
Is authentication required to exploit ZDI-CAN-21662?
No, authentication is not required to exploit ZDI-CAN-21662.