ZDI-21-203: D-Link DAP-2020 webproc getpage Stack-based Buffer Overflow Remote Code Execution Vulnerability
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2020 Wi-Fi access points. Authentication is not required to exploit this vulnerability. The specific flaw exists within the processing of CGI scripts. When parsing the getpage parameter, the process does not properly validate 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-21-203?
The severity of ZDI-21-203 is considered high due to the potential for arbitrary code execution without authentication.
How do I fix ZDI-21-203?
To fix ZDI-21-203, update your D-Link DAP-2020 to the latest firmware version available from D-Link.
Who is affected by ZDI-21-203?
ZDI-21-203 affects users of the D-Link DAP-2020 Wi-Fi access points.
What type of attackers can exploit ZDI-21-203?
Network-adjacent attackers can exploit ZDI-21-203 without needing to authenticate.
What is the main flaw in ZDI-21-203?
The main flaw in ZDI-21-203 exists within the processing of CGI scripts on the affected devices.