Description
An issue was discovered in AsusWRT before 3.0.0.4.384_10007. The do_vpnupload_post function in router/httpd/web.c in vpnupload.cgi provides functionality for setting NVRAM configuration values, which allows attackers to set the admin password and launch an SSH daemon (or enable infosvr command mode), and consequently obtain remote administrative access, via a crafted request. This is available to unauthenticated attackers in conjunction with CVE-2018-5999.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
AsusWRT LAN Unauthenticated Remote Code Execution
exploit/linux/http/asuswrt_lan_rce
Exploit-DB 2
- AsusWRT LAN - Remote Code Execution (Metasploit) EDB-44176 · remote · Feb 26, 2018 · verified
- AsusWRT Router < 3.0.0.4.380.7743 - LAN Remote Code Execution EDB-43881 · remote · Jan 22, 2018
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.