Vulnerability record · CVE-2020-8863 · published 23 March 2020
CVE-2020-8863: D-Link DIR router HNAP authentication bypass allows code execution
Dlink · Dir 878 Firmware
D-Link DIR-867, DIR-878 and DIR-882 routers running firmware 1.10B04 mishandle HNAP login requests, failing to properly implement the authentication algorithm. A network-adjacent attacker can bypass authentication without credentials and then escalate privileges to execute code as the router. This exposes the router's management plane to anyone on the adjacent network segment.
Description
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 implementation of the authentication algorithm. An attacker can leverage this vulnerability to escalate privileges and execute code in the context of the router. Was ZDI-CAN-9470.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
high priorityUnauthenticated network-adjacent code execution on internet-edge routers with a very high EPSS score, though not yet in KEV and requiring adjacency rather than remote internet access.
What it is
D-Link DIR-867, DIR-878 and DIR-882 routers running firmware 1.10B04 mishandle HNAP login requests, failing to properly implement the authentication algorithm. A network-adjacent attacker can bypass authentication without credentials and then escalate privileges to execute code as the router. This exposes the router's management plane to anyone on the adjacent network segment.
Impact
An attacker gains authenticated-equivalent access to the router and can execute code in its context, taking full control of the device. That enables traffic interception, configuration changes and use of the router as a foothold into the local network.
Attack surface
Reached over the network from an adjacent segment (AV:A) via HNAP login requests; no authentication (PR:N) and no user interaction (UI:N) are required. The flaw is in the router's HNAP request handling, so any reachable management interface on the affected firmware is exposed.
Exploitation
Not listed in CISA KEV, but EPSS is very high (0.767, 99.5th percentile), indicating strong likelihood of attempted exploitation. References are only vendor and ZDI advisories, with no public exploit tag in the record.
What to do
- Apply the D-Link firmware update referenced in advisory SAP10157 for DIR-867, DIR-878 and DIR-882; if no fixed firmware exists for a model, replace or retire it.
- Disable or block remote/adjacent access to the router's HNAP and web management interface; restrict administration to a trusted wired segment.
- Segment IoT and router management traffic so untrusted clients cannot reach the management plane.
- Monitor D-Link advisories and replace end-of-support models that will not receive fixes.
Detection
- Alert on HNAP login requests to affected routers from unexpected or non-administrative source addresses.
- Monitor router logs and syslog for authentication bypass patterns, repeated HNAP login attempts, or configuration changes outside maintenance windows.
- Watch for unexpected outbound connections or DNS changes originating from the router itself.
- Baseline normal management traffic and flag new hosts reaching the router's HNAP endpoint.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10157 | Third Party Advisory |
| https://www.zerodayinitiative.com/advisories/ZDI-20-267/ | Third Party AdvisoryVDB Entry |
| https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10157 | Third Party Advisory |
| https://www.zerodayinitiative.com/advisories/ZDI-20-267/ | Third Party AdvisoryVDB Entry |
Track CVE-2020-8863 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-8863), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.