This module exploits a command injection vulnerability on Sophos Web Protection Appliance 3.7.9, 3.8.0 and 3.8.1. The vulnerability exists on the sblistpack component, reachable from the web interface without authentication. This module has been tested successfully on Sophos Virtual Web Appliance 3.7.0.
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/sophos_wpa_sblistpack_exec
msf exploit(sophos_wpa_sblistpack_exec) > show targets
...targets...
msf exploit(sophos_wpa_sblistpack_exec) > set TARGET < target-id >
msf exploit(sophos_wpa_sblistpack_exec) > show options
...show and set options...
msf exploit(sophos_wpa_sblistpack_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