Advisory Published
Advisory Published

CVE-2020-8864: D-Link Multiple Routers HNAP strncmp Incorrect Comparison Authentication Bypass Vulnerability

First published: Mon Mar 23 2020(Updated: )

This vulnerability allows network-adjacent attackers to bypass authentication on affected installations of D-Link DIR-867, DIR-878, and DIR-882 routers with firmware 1.10B04. 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. Was ZDI-CAN-9471.

Credit: zdi-disclosures@trendmicro.com

Affected SoftwareAffected VersionHow to fix
Dlink Dir-878 Firmware<=1.20b03
Dlink Dir-878
Dlink Dir-882 Firmware<=1.10b04
Dlink Dir-882
D-Link Multiple Routers<=1.10b04
D-Link Multiple Routers
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 CVE-2020-8864?

    CVE-2020-8864 is a vulnerability that allows network-adjacent attackers to bypass authentication on affected installations of D-Link routers.

  • Which routers are affected by CVE-2020-8864?

    CVE-2020-8864 affects D-Link DIR-867, DIR-878, and DIR-882 routers.

  • Is authentication required to exploit CVE-2020-8864?

    No, authentication is not required to exploit CVE-2020-8864.

  • What is the severity of CVE-2020-8864?

    The severity of CVE-2020-8864 is high, with a severity value of 8.8.

  • How can I fix the CVE-2020-8864 vulnerability?

    To fix the CVE-2020-8864 vulnerability, it is recommended to update the firmware of the affected D-Link routers to the latest version.


SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203