CVE-2018-5721: Buffer Overflow

Published Jan 17, 2018
·
Updated

Stack-based buffer overflow in the ejupdatevariables 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 ejupdatevariables, the length of the variable actionscript is not checked, as long as it includes a "wanif" substring.

Affected Software

1 affected component
Asuswrt-Merlin Asuswrt-Merlin<=382.1_2

Event History

Jan 17, 2018
CVE Published
via MITRE·06:00 AM
Data Sourced
via MITRE·06:00 AM
Description
Data Sourced
via NVD·06:29 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-5721?

CVE-2018-5721 is a vulnerability found in ASUS routers (when using software from https://github.com/RMerl/asuswrt-merlin) that allows web authenticated attackers to execute code via a request that updates a setting.

2

How severe is CVE-2018-5721?

CVE-2018-5721 has a severity score of 8.8 (high).

3

How does CVE-2018-5721 affect ASUS routers?

CVE-2018-5721 affects ASUS routers running software from https://github.com/RMerl/asuswrt-merlin with version up to and including 382.1_2.

4

Is there a fix for CVE-2018-5721?

Unfortunately, there is no known fix for CVE-2018-5721 at the moment.

5

Where can I find more information about CVE-2018-5721?

You can find more information about CVE-2018-5721 at http://www.w0lfzhang.com/2018/01/17/ASUS-router-stack-overflow-in-http-server/

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203