Rapid7

module

Splunk Search Remote Code Execution

Disclosed
Dec 12, 2011
Created
May 30, 2018

Description

This module abuses a command execution vulnerability in the
web based interface of Splunk 4.2 to 4.2.4. The vulnerability exists
in the 'mappy' search command which allows attackers to run Python code.
To exploit this vulnerability, a valid Splunk user with the admin
role is required. By default, this module uses the credential of "admin:changeme",
the default Administrator credential for Splunk. Note that the Splunk web interface
runs as SYSTEM on Windows and as root on Linux by default.

Authors

Gary O'Leary-Steele
juan vazquez [email protected]

Platform

Linux,Unix,Windows

Architectures

cmd

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.