This module exploits Th3 MMA mma.php Backdoor which allows an arbitrary file upload that leads to arbitrary code execution. This backdoor also echoes the Linux kernel version or operating system version because of the php_uname() function.
PHP
php
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/http/mma_backdoor_upload
msf exploit(mma_backdoor_upload) > show targets
...targets...
msf exploit(mma_backdoor_upload) > set TARGET < target-id >
msf exploit(mma_backdoor_upload) > show options
...show and set options...
msf exploit(mma_backdoor_upload) > 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