{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-5721","published":"2018-01-17T06:29:00.277000Z","last_modified":"2026-06-17T02:00:39.370000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:o:asuswrt-merlin:asuswrt-merlin:*:*:*:*:*:*:*:*","part":"o","vendor":"asuswrt-merlin","product":"asuswrt-merlin","version_end_including":"382.1_2"}],"cpes_truncated":false,"vendors":["asuswrt-merlin"],"products":["asuswrt-merlin/asuswrt-merlin"],"cat":"os","platform":"multi","eol":false,"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2018-5721/","html_en":"/en/cve/CVE-2018-5721/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-5721","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-5721"},"untrusted":{"vendor_name":"Asuswrt-merlin","product_name":"Asuswrt-merlin","desc_en":"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.","affected":[],"references":[{"url":"http://www.w0lfzhang.com/2018/01/17/ASUS-router-stack-overflow-in-http-server/","tags":["Exploit","Third Party Advisory"]}]}}