This module will collect the password for the `admin` user. The exploit will not complete if password recovery is set on the router. The password is received by passing the token generated from `unauth.cgi` to `passwordrecovered.cgi`. This exploit works on many different NETGEAR products. The full list of affected products is available in the 'References' section.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/gather/netgear_password_disclosure
msf auxiliary(netgear_password_disclosure) > show actions
...actions...
msf auxiliary(netgear_password_disclosure) > set ACTION < action-name >
msf auxiliary(netgear_password_disclosure) > show options
...show and set options...
msf auxiliary(netgear_password_disclosure) > run
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security