Body Background
TrendAI™ Zero Day Initiative™ Logo

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

February 24th, 2020

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

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.