CVE-2016-5681
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 nowThis 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.
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.
What to do now
- Identify which model you have and check its current firmware version in the router’s admin interface.
- Compare your firmware against the affected ranges in the CVE description (older than the fixed builds).
- If your device is affected, upgrade firmware to the fixed release referenced by D-Link in SAP10063.
- After upgrading, reboot the router and verify remote admin/login still works normally.
- If you cannot upgrade quickly, disable any features that expose the router’s login/admin services to the internet (access from outside your network).
CVSS Vector Breakdown
AV:NAttack VectorAC:LAttack ComplexityPR:NPrivileges RequiredUI:NUser InteractionS:UScopeC:HConfidentialityI:HIntegrityA:HAvailabilityWeaknesses
Affected Products
Exploitability
Attack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
2 techniquesReferences
- AryStinger Malware Attacks Routers via CVE-2013-3307en-us·Daily CyberSecurity (securityonline.info)· Research RTL819X routers ics-ot-iot
- Ботнет AryStinger заразил тысячи роутеров D-Linkru-ru·Хакер (xakep.ru)· Exploited D-Link DIR-850L AryStinger
- AryStinger Malware Infects 4,300 Legacy Routers to Build Reconnaissance Proxy Networken·The Hacker News· Exploited Linksys routers (RTL819X-based models) malware
- AryStinger botnet infected thousands of D-Link routers worldwideen-us·BleepingComputer· Research AryStinger malware
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