Rapid7 Vulnerability & Exploit Database

Symantec Web Gateway 5 restore.php Post Authentication Command Injection

Back to Search

Symantec Web Gateway 5 restore.php Post Authentication Command Injection

Disclosed
12/16/2014
Created
05/30/2018

Description

This module exploits a command injection vulnerability found in Symantec Web Gateway's setting restoration feature. The filename portion can be used to inject system commands into a syscall function, and gain control under the context of HTTP service. For Symantec Web Gateway 5.1.1, you can exploit this vulnerability by any kind of user. However, for version 5.2.1, you must be an administrator.

Author(s)

  • Egidio Romano
  • 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_restore
msf exploit(symantec_web_gateway_restore) > show targets
    ...targets...
msf exploit(symantec_web_gateway_restore) > set TARGET < target-id >
msf exploit(symantec_web_gateway_restore) > show options
    ...show and set options...
msf exploit(symantec_web_gateway_restore) > 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

;