This module exploits a command injection vulnerability on PineApp Mail-SeCure 3.70. The vulnerability exists on the livelog.html component, due to the insecure usage of the shell_exec() php function. This module has been tested successfully on PineApp Mail-SeCure 3.70.
Unix
cmd
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/http/pineapp_livelog_exec
msf exploit(pineapp_livelog_exec) > show targets
...targets...
msf exploit(pineapp_livelog_exec) > set TARGET < target-id >
msf exploit(pineapp_livelog_exec) > show options
...show and set options...
msf exploit(pineapp_livelog_exec) > 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