Rapid7 Vulnerability & Exploit Database

Sophos Web Protection Appliance clear_keys.pl Local Privilege Escalation

Back to Search

Sophos Web Protection Appliance clear_keys.pl Local Privilege Escalation

Disclosed
09/06/2013
Created
05/30/2018

Description

This module abuses a command injection on the clear_keys.pl perl script, installed with the Sophos Web Protection Appliance, to escalate privileges from the "spiderman" user to "root". This module is useful for post exploitation of vulnerabilities on the Sophos Web Protection Appliance web ui, executed by the "spiderman" user. This module has been tested successfully on Sophos Virtual Web Appliance 3.7.0.

Author(s)

  • Francisco Falcon
  • juan vazquez <juan.vazquez@metasploit.com>

Platform

Linux

Architectures

x86

Development

Module Options

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/local/sophos_wpa_clear_keys
msf exploit(sophos_wpa_clear_keys) > show targets
    ...targets...
msf exploit(sophos_wpa_clear_keys) > set TARGET < target-id >
msf exploit(sophos_wpa_clear_keys) > show options
    ...show and set options...
msf exploit(sophos_wpa_clear_keys) > 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

;