VULNERABILITY INTELLIGENCE

CVE-2018-5721

CVSS score8.8 HIGH
EPSS probability1.94%
CISA KEVNot currently listed
Published2018-01-17
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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 classification

  • nvd@nist.gov: CWE-787

Primary references