HNAP Service Authentication Bypass and Code Execution Vulnerability in D-Link DAP-1860 WiFi Extenders (ZDI-CAN-10084)

HNAP Service Authentication Bypass and Code Execution Vulnerability in D-Link DAP-1860 WiFi Extenders (ZDI-CAN-10084)

CVE-2020-15631 · HIGH Severity

CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1860 1.04B03_HOTFIX WiFi extenders. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the HNAP service, which listens on TCP port 80 by default. When parsing the SOAPAction 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-10084.

Learn more about our Network Penetration Testing.