This module exploits a simple stack buffer overflow in the TrackerCam web server. All current versions of this software are vulnerable to a large number of security issues. This module abuses the directory traversal flaw to gain information about the system and then uses the PHP overflow to execute arbitrary code.
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/trackercam_phparg_overflow
msf exploit(trackercam_phparg_overflow) > show targets
...targets...
msf exploit(trackercam_phparg_overflow) > set TARGET < target-id >
msf exploit(trackercam_phparg_overflow) > show options
...show and set options...
msf exploit(trackercam_phparg_overflow) > 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