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

Published 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.

Affected Software

12 affected components
Dlink Dir-878 Firmware<=1.20b03
Dlink Dir-878
Dlink Dir-882 Firmware<=1.10b04
Dlink Dir-882
Dlink Dir-867 Firmware<=1.10b04
Dlink Dir-867
All of the following
Dlink Dir-878 Firmware<=1.20b03
Dlink Dir-878
All of the following
Dlink Dir-882 Firmware<=1.10b04
Dlink Dir-882
All of the following
Dlink Dir-867 Firmware<=1.10b04
Dlink Dir-867

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade D-Link DIR-867 to a version that resolves this vulnerability.

    Fixed in 1.10B04Patch ZDI-CAN-9471
  2. Upgrade

    Upgrade D-Link DIR-878 to a version that resolves this vulnerability.

    Fixed in 1.10B04Patch ZDI-CAN-9471
  3. Upgrade

    Upgrade D-Link DIR-882 to a version that resolves this vulnerability.

    Fixed in 1.10B04Patch ZDI-CAN-9471

Event History

Mar 23, 2020
CVE Published
via MITRE·08:25 PM
Data Sourced
via MITRE·08:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software
Jun 29, 2026
Advisory Published
via ZDI·03:42 AM
Data Sourced
via ZDI·03:42 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

Which routers are affected by CVE-2020-8864?

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

3

Is authentication required to exploit CVE-2020-8864?

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

4

What is the severity of CVE-2020-8864?

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

5

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.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203