Back to search

Splunk Search Remote Code Execution

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.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/multi/http/splunk_mappy_exec

Authors

  • Gary O'Leary-Steele
  • juan vazquez <juan.vazquez [at] metasploit.com>

References

Targets

  • Universal CMD

Platforms

  • linux
  • unix
  • windows

Architectures

  • cmd

Reliability

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/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