CVE-2020-27864: D-Link DAP-1860 - Command Injection
- Cve: CVE-2020-27864
- Name: D-Link DAP-1860 - Command Injection
- Description: This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1860 firmware version 1.04B03 WiFi extenders. Authentication is not required to exploit this vulnerability. The specific flaw exists within the HNAP service, which listens on TCP port 80 by default. When parsing the Authorization request header, the process does not properly validate a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the device. Was ZDI-CAN-10880.
- Impact: Attackers can execute arbitrary code on the device, potentially leading to full device compromise or control.
- Remediation: Update to the latest firmware version provided by D-Link to address this vulnerability.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.10095
- Epss percentile: 0.95759
- Assignee: [email protected]
- Published at: 2021-02-12T00:15:12Z
- Age in days: 2111
- Modified at: 2026-06-17T03:09:45Z
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-27864
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
References
| Url | Source | Tags |
|---|---|---|
| https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10197 | nvd | Vendor Advisory |
| https://www.zerodayinitiative.com/advisories/ZDI-20-1428/ | nvd | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| dlink:dap-1860_firmware | <= 1.04b03 | yes | nvd | /v1/products/dlink/dap-1860_firmware |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts