CVEvulnerability

CVE-2018-5721

8.8 HIGH Published 2018-01-17 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-01-17
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
Weaknesses
CWE-787

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.

Affected configurations

• asuswrt-merlin asuswrt-merlin (<= 382.1 2)

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References