CVE-2018-5721Asuswrt-merlin
High 8.8
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- Yes
- Published
- Jan 17, 2018
- Updated
- Jun 17, 2026
- Category
- Operating system · Cross-platform
- Weakness (CWE)
- CWE-787
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Asuswrt-merlin.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| asuswrt-merlin | asuswrt-merlin | ≤ 382.1_2 |
Official sources
References
Links published by the sources. Open them with care.
- www.w0lfzhang.com Exploit Third Party Advisory