Description
This module exploits a heap buffer overflow in the genie.cgi?backup.cgi page of Netgear R7000 routers running firmware version 1.0.11.116. Successful exploitation results in unauthenticated attackers gaining code execution as the root user.
The exploit utilizes these privileges to enable the telnet server which allows attackers to connect to the target and execute commands as the admin user from within a BusyBox shell. Users can connect to this telnet server by running the command "telnet *target IP*".
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/admin/http/netgear_r7000_backup_cgi_heap_overflow_rcemsf undefined(netgear_r7000_backup_cgi_heap_overflow_rce) > show actions ...actions...msf undefined(netgear_r7000_backup_cgi_heap_overflow_rce) > set ACTION < action-name >msf undefined(netgear_r7000_backup_cgi_heap_overflow_rce) > show options ...show and set options...msf undefined(netgear_r7000_backup_cgi_heap_overflow_rce) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub