Rapid7 Vulnerability & Exploit Database

AlienVault OSSIM/USM Remote Code Execution

Back to Search

AlienVault OSSIM/USM Remote Code Execution

Disclosed
01/31/2017
Created
05/30/2018

Description

This module exploits object injection, authentication bypass and ip spoofing vulnerabilities all together. Unauthenticated users can execute arbitrary commands under the context of the root user. By abusing authentication bypass issue on gauge.php lead adversaries to exploit object injection vulnerability which leads to SQL injection attack that leaks an administrator session token. Attackers can create a rogue action and policy that enables to execute operating system commands by using captured session token. As a final step, SSH login attempt with an invalid credentials can trigger a created rogue policy which triggers an action that executes operating system command with root user privileges. This module was tested against following product and versions: AlienVault USM 5.3.0, 5.2.5, 5.0.0, 4.15.11, 4.5.0 AlienVault OSSIM 5.0.0, 4.6.1

Author(s)

  • Peter Lapp
  • Mehmet Ince <mehmet@mehmetince.net>

Platform

Python

Architectures

python

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

;