Advisory Details

February 24th, 2020

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

ZDI-20-268
ZDI-CAN-9471

CVE ID CVE-2020-8864
CVSS SCORE 8.8, AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS D-Link
AFFECTED PRODUCTS Multiple Routers
VULNERABILITY DETAILS

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.

ADDITIONAL DETAILS D-Link has issued an update to correct this vulnerability. More details can be found at:
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10157
DISCLOSURE TIMELINE
  • 2019-12-27 - Vulnerability reported to vendor
  • 2020-02-24 - Coordinated public release of advisory
CREDIT chung96vn - Security Researcher of VinCSS (Member of Vingroup)
BACK TO ADVISORIES