RCE in D-Link Dap-1860

CVE-2020-27864

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.098 (95.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-27864?
CVE-2020-27864 is a high-severity vulnerability in D-Link Dap-1860, classified under Command Injection. CVSS score: 8.8/10. Published 2021-02-12.
How severe is CVE-2020-27864?
High severity. CVSS v3 base score is 8.8 out of 10.