CVE-2018-5721
Last modified
CVE-2018-5721 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 1.95% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Asuswrt-Merlin | Asuswrt-Merlin | <= 382.1_2 |
References
- http://www.w0lfzhang.com/2018/01/17/ASUS-router-stack-overflow-in-http-server/Exploit, Third Party Advisory
- http://www.w0lfzhang.com/2018/01/17/ASUS-router-stack-overflow-in-http-server/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-5721?
How severe is CVE-2018-5721?
How do I fix CVE-2018-5721?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-5714In Malwarefox Anti-Malware 2.72.169, the driver file (zam64.…
- CVE-2018-5715phprint.php in SugarCRM 3.5.1 has XSS via a parameter name i…
- CVE-2018-5716An issue was discovered in Reprise License Manager 11.0. Thi…8.1
- CVE-2018-5717Memory write mechanism in NCR S2 Dispenser controller before…
- CVE-2018-5718Improper restriction of write operations within the bounds o…
- CVE-2018-5720An issue was discovered on DODOCOOL DC38 3-in-1 N300 Mini Wi…
- CVE-2018-5723MASTER IPCAMERA01 3.3.4.2103 devices have a hardcoded passwo…
- CVE-2018-5724MASTER IPCAMERA01 3.3.4.2103 devices allow Unauthenticated C…
- CVE-2018-5725MASTER IPCAMERA01 3.3.4.2103 devices allow Unauthenticated C…
- CVE-2018-5726MASTER IPCAMERA01 3.3.4.2103 devices allow remote attackers …
- CVE-2018-5727In OpenJPEG 2.3.0, there is an integer overflow vulnerabilit…
- CVE-2018-5728Cobham Sea Tel 121 build 222701 devices allow remote attacke…
Are you affected by CVE-2018-5721?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
