Exploit database

Vulnerability

CVE-2011-4642

Vulnerability details

Score
4.6
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:N/AC:H/Au:S/C:P/I:P/A:P

Description

mappy.py in Splunk Web in Splunk 4.2.x before 4.2.5 does not properly restrict use of the mappy command to access Python classes, which allows remote authenticated administrators to execute arbitrary code by leveraging the sys module in a request to the search application, as demonstrated by a cross-site request forgery (CSRF) attack, aka SPL-45172.

CVE Program

Exploit source choices

2 sources
Splunk Search Remote Code Execution
MSF-multi--http--splunk_mappy_execMetasploitLinux,Unix,Windows / remote

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.

2011-12-12splunk_mappy_exec.rb