// For flags

CVE-2020-8864

D-Link Multiple Routers HNAP strncmp Incorrect Comparison Authentication Bypass Vulnerability

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Esta vulnerabilidad permite a atacantes adyacentes a la red omitir la autenticación sobre las instalaciones afectadas de los enrutadores D-Link DIR-867, DIR-878 y DIR-882 con versión de firmware 1.10B04. No es requerida una autenticación para explotar esta vulnerabilidad. El fallo específico se presenta en el manejo de las peticiones de inicio de sesión de HNAP. El problema es debido a la falta de un manejo adecuado de las contraseñas vacías. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código arbitrario en el enrutador. Fue ZDI-CAN-9471.

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.

*Credits: chung96vn - Security Researcher of VinCSS (Member of Vingroup)
CVSS Scores
Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Adjacent
Attack Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2020-02-11 CVE Reserved
  • 2020-02-24 CVE Published
  • 2023-03-07 EPSS Updated
  • 2024-08-04 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-697: Incorrect Comparison
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Dlink
Search vendor "Dlink"
Dir-878 Firmware
Search vendor "Dlink" for product "Dir-878 Firmware"
<= 1.20b03
Search vendor "Dlink" for product "Dir-878 Firmware" and version " <= 1.20b03"
-
Affected
in Dlink
Search vendor "Dlink"
Dir-878
Search vendor "Dlink" for product "Dir-878"
--
Safe
Dlink
Search vendor "Dlink"
Dir-882 Firmware
Search vendor "Dlink" for product "Dir-882 Firmware"
<= 1.10b04
Search vendor "Dlink" for product "Dir-882 Firmware" and version " <= 1.10b04"
-
Affected
in Dlink
Search vendor "Dlink"
Dir-882
Search vendor "Dlink" for product "Dir-882"
--
Safe
Dlink
Search vendor "Dlink"
Dir-867 Firmware
Search vendor "Dlink" for product "Dir-867 Firmware"
<= 1.10b04
Search vendor "Dlink" for product "Dir-867 Firmware" and version " <= 1.10b04"
-
Affected
in Dlink
Search vendor "Dlink"
Dir-867
Search vendor "Dlink" for product "Dir-867"
--
Safe