CVE-2018-5721 Memory corruption in n/a
Authenticated attackers can execute arbitrary code on ASUS routers running Merlin firmware via a stack-based buffer overflow in the web interface.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-5721?
CVE-2018-5721 is a high-severity memory corruption vulnerability in n/a, published on 17 Jan 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Stack-based buffer overflow in the ej_update_variables function in router/httpd/web.c on ASUS routers (when using software from https://github.com/RMerl/asuswrt-merlin) allows web authenticated attackers to execute code via a request that updates a setting. In ej_update_variables, the length of the variable action_script is not checked, as long as it includes a "_wan_if" substring.
Weakness: CWE-787
Which versions are affected by CVE-2018-5721?
It affects 1 product.
Products include Asuswrt-Merlin Asuswrt-Merlin.
How do I fix CVE-2018-5721?
No fix has been published for CVE-2018-5721 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-5721 being exploited?
There is no known exploitation of CVE-2018-5721 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8hc5-mr39-qw3v.