CVE-2016-6563

CRITICAL EXPLOITED

D-Link DIR Routers - Stack-Based Buffer Overflow via Malformed SOAP HNAP Login Action

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2016-6563 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 2 public exploits from researchers including Metasploit, Pedro Ribeiro <[email protected]>, including a Metasploit module exploits/linux/http/dlink_hnap_login_bof.

AI-analyzed exploit summary This Metasploit module exploits a pre-authentication stack buffer overflow in D-Link routers via the HNAP SOAP protocol, allowing remote code execution on both MIPS and ARM architectures.

Description

Processing malformed SOAP messages when performing the HNAP Login action causes a buffer overflow in the stack in some D-Link DIR routers. The vulnerable XML fields within the SOAP body are: Action, Username, LoginPassword, and Captcha. The following products are affected: DIR-823, DIR-822, DIR-818L(W), DIR-895L, DIR-890L, DIR-885L, DIR-880L, DIR-868L, and DIR-850L.

Exploits (2)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotemultiple
https://www.exploit-db.com/exploits/40805

This Metasploit module exploits a pre-authentication stack buffer overflow in D-Link routers via the HNAP SOAP protocol, allowing remote code execution on both MIPS and ARM architectures.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: D-Link DIR-818LW, DIR-868L (rev. B), and other DIR models (822, 823, 880, 885, 890, 895)
No auth needed
Prerequisites: Network access to the target router's LAN interface on port 80
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by Pedro Ribeiro <[email protected]> · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/dlink_hnap_login_bof.rb

This Metasploit module exploits a pre-authentication stack buffer overflow in D-Link routers via the HNAP SOAP protocol. It supports both MIPS and ARM architectures, leveraging ROP gadgets to achieve remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: D-Link DIR-818LW, DIR-868L (rev. B), and others (see references)
No auth needed
Prerequisites: Network access to the vulnerable router's LAN interface · HNAP SOAP protocol exposed on port 80
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit, Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/40805/
Third Party Advisory, US Government Resource third-party-advisory x_refsource_cert-vn
https://www.kb.cert.org/vuls/id/677427
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/94130
Exploit, Mailing List, Third Party Advisory mailing-list x_refsource_fulldisc
http://seclists.org/fulldisclosure/2016/Nov/38

Scores

CVSS v3 9.8
EPSS 0.8489
EPSS Percentile 99.4%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

VulnCheck KEV 2025-02-27
CWE
CWE-119 CWE-121
Status published
Products (9)
dlink/dir-818l\(w\)_firmware
dlink/dir-822_firmware
dlink/dir-823_firmware
dlink/dir-850l_firmware
dlink/dir-868l_firmware
dlink/dir-880l_firmware
dlink/dir-885l_firmware
dlink/dir-890l_firmware
dlink/dir-895l_firmware
Published Jul 13, 2018
Tracked Since Feb 18, 2026