CVE-2018-5721
Last modified
CVE-2018-5721 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 1.95% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Asuswrt-Merlin | Asuswrt-Merlin | <= 382.1_2 |
References
- http://www.w0lfzhang.com/2018/01/17/ASUS-router-stack-overflow-in-http-server/Exploit, Third Party Advisory
- http://www.w0lfzhang.com/2018/01/17/ASUS-router-stack-overflow-in-http-server/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-5721?
How severe is CVE-2018-5721?
How do I fix CVE-2018-5721?
Are you affected by CVE-2018-5721?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
