CVE Tools

Description

Stack-based buffer overflow in dws/api/Login on D-Link DIR-850L B1 2.07 before 2.07WWB05, DIR-817 Ax, DIR-818LW Bx before 2.05b03beta03, DIR-822 C1 3.01 before 3.01WWb02, DIR-823 A1 1.00 before 1.00WWb05, DIR-895L A1 1.11 before 1.11WWb04, DIR-890L A1 1.09 before 1.09b14, DIR-885L A1 1.11 before 1.11WWb07, DIR-880L A1 1.07 before 1.07WWb08, DIR-868L B1 2.03 before 2.03WWb01, and DIR-868L C1 3.00 before 3.00WWb01 devices allows remote attackers to execute arbitrary code via a long session cookie.

In plain language

AI Act now

This is a dangerous remote “crash or takeover” bug in certain D-Link router firmware login features; if you run one of the affected models and your firmware is older than the listed fixed builds, you should take action immediately.

Executive summary

CVE-2016-5681 is a network-reachable stack-based buffer overflow in the dws/api/Login endpoint on affected D-Link DIR router firmware, triggered without authentication by sending an abnormally long session cookie, leading to remote code execution.

If affected, business impact
Full router compromiseNetwork traffic interceptionDevice downtimeRansomware-style disruption

What to do now

  1. Identify which model you have and check its current firmware version in the router’s admin interface.
  2. Compare your firmware against the affected ranges in the CVE description (older than the fixed builds).
  3. If your device is affected, upgrade firmware to the fixed release referenced by D-Link in SAP10063.
  4. After upgrading, reboot the router and verify remote admin/login still works normally.
  5. If you cannot upgrade quickly, disable any features that expose the router’s login/admin services to the internet (access from outside your network).
Patch / advisory Some work to apply

CVSS Vector Breakdown

AV:NAC:LPR:NUI:NS:UC:HI:HA:H
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

and 1 more affected products View all →

Exploitability

Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

2 techniques
Initial Access
Privilege Escalation
View detailed technique mapping

References

4

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2016-5681 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows