CVE-2016-6563 D-Link DIR routers contain a stack-based buffer overflow in the HNAP Login action
Attackers can execute arbitrary code on D-Link DIR routers by sending malformed SOAP messages to the HNAP Login action.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2016-6563?
CVE-2016-6563 is a critical memory corruption vulnerability in D-Link DIR-818L(W), published on 13 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2016-6563?
It affects 9 products.
Products include 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 and 3 more.
How do I fix CVE-2016-6563?
No fix has been published for CVE-2016-6563 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2016-6563 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-6563 exists.
Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.
Sources
Also known as GHSA-2237-8cw9-xj7q.