CVE-2018-5721 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 attack...
HighCVSS 8.8
EPSS 1.9%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| asuswrt-merlin | <= 382.1_2 | after 382.1_2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| asuswrt-merlin | <= 382.1_2 | No fix listed |
References
- www.w0lfzhang.com exploit third-party-advisory