8.8
Advisory Published

ZDI-20-268: D-Link Multiple Routers HNAP strncmp Incorrect Comparison Authentication Bypass Vulnerability

This vulnerability allows network-adjacent attackers to bypass authentication on affected installations of D-Link DIR-867, DIR-878, and DIR-882 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of HNAP login requests. The issue results from the lack of proper handling of empty passwords. An attacker can leverage this vulnerability to execute arbitrary code on the router.

Affected SoftwareAffected VersionHow to fix
D-Link Multiple Routers

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-20-268?

    The severity of ZDI-20-268 is classified as critical due to the ability of network-adjacent attackers to bypass authentication.

  • How do I fix ZDI-20-268?

    To fix ZDI-20-268, users should apply the latest firmware update from D-Link for affected router models.

  • Which routers are affected by ZDI-20-268?

    ZDI-20-268 affects D-Link DIR-867, DIR-878, and DIR-882 routers among other multiple routers from D-Link.

  • Can ZDI-20-268 be exploited remotely?

    ZDI-20-268 requires an attacker to be on the same network segment, thus not entirely remote, but still poses a significant risk.

  • Is authentication required to exploit ZDI-20-268?

    No, authentication is not required to exploit ZDI-20-268, making it particularly dangerous.

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