This module exploits a command injection vulnerability on PineApp Mail-SeCure 3.70. The vulnerability exists on the test_li_connection.php component, due to the insecure usage of the system() 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_test_li_conn_exec
msf exploit(pineapp_test_li_conn_exec) > show targets
...targets...
msf exploit(pineapp_test_li_conn_exec) > set TARGET < target-id >
msf exploit(pineapp_test_li_conn_exec) > show options
...show and set options...
msf exploit(pineapp_test_li_conn_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