CVE-2018-20305 Memory corruption in n/a
Attackers can achieve remote code execution on D-Link DIR-816 routers by triggering a stack-based buffer overflow via the password parameter.
- 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-2018-20305?
CVE-2018-20305 is a critical memory corruption vulnerability in n/a, published on 20 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
D-Link DIR-816 A2 1.10 B05 devices allow arbitrary remote code execution without authentication via the newpass parameter. In the /goform/form2userconfig.cgi handler function, a long password may lead to a stack-based buffer overflow and overwrite a return address.
Weakness: CWE-787
Which versions are affected by CVE-2018-20305?
It affects 1 product.
Products include D-Link Dir-816 A2 Firmware.
How do I fix CVE-2018-20305?
No fix has been published for CVE-2018-20305 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-2018-20305 being exploited?
There is no known exploitation of CVE-2018-20305 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-34qv-w885-5qpc.