module

Imperva SecureSphere PWS Command Injection

Disclosed
2018-10-08
Created
2019-03-19

Description

This module exploits a command injection vulnerability in Imperva
SecureSphere 13.x. The vulnerability exists in the PWS service,
where Python CGIs didn't properly sanitize user supplied command
parameters and directly passes them to corresponding CLI utility,
leading to command injection. Agent registration credential is
required to exploit SecureSphere in gateway mode.

This module was successfully tested on Imperva SecureSphere 13.0/13.1/
13.2 in pre-ftl mode and unsealed gateway mode.

Author

rsp3ar lukunming

Platform

Linux

Architectures

x86, x64

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.