8.8
Advisory Published

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 SoftwareAffected VersionHow to fix
D-Link DAP-2020

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203