Rapid7 Vulnerability & Exploit Database

Symantec Web Gateway 5.0.2.18 pbcontrol.php Command Injection

Back to Search

Symantec Web Gateway 5.0.2.18 pbcontrol.php Command Injection

Disclosed
07/23/2012
Created
05/30/2018

Description

This module exploits a command injection vulnerability found in Symantec Web Gateway's HTTP service. While handling the filename parameter, the Spywall API does not do any filtering before passing it to an exec() call in proxy_file(), thus results in remote code execution under the context of the web server. Please note authentication is NOT needed to gain access.

Author(s)

  • muts
  • sinn3r <sinn3r@metasploit.com>

Platform

Unix

Architectures

cmd

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

;