{"id":"CVE-2011-4642","published":"2012-01-03T11:00:00Z","modified":"2024-08-07T00:09:19Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.28615,"percentile":0.98181,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.splunk.com/view/SP-CAAAGMM","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id?1026451","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.sec-1.com/blog/?p=233","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/47232","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.sec-1.com/blog/wp-content/uploads/2011/12/Attacking_Splunk_Release.pdf","tags":["x_refsource_MISC"]},{"url":"http://www.exploit-db.com/exploits/18245/","tags":["exploit","x_refsource_EXPLOIT-DB"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.64},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2011-12-15"},"metasploit":[{"name":"Splunk Search Remote Code Execution","module":"exploit/multi/http/splunk_mappy_exec","type":"exploit","disclosureDate":"2011-12-12","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/splunk_mappy_exec.rb"}],"first":{"date":"2011-12-12","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/splunk_mappy_exec.rb"},"provenance":"source"},"summary":{"text":"In mappy.py, a component of Splunk Web in Splunk 4.2.x before 4.2.5, the mappy command does not properly restrict access to Python classes. An attacker who is an authenticated remote administrator can exploit this by sending a request to the search application that leverages the sys module to execute arbitrary code, and the attack can be carried out via cross-site request forgery.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:44:45Z"},"euvd":{"id":"EUVD-2011-4560","exploited":false,"provenance":"source"},"exploits":[{"id":18245,"url":"https://www.exploit-db.com/exploits/18245","title":"Splunk - Remote Command Execution","date":"2011-12-15","verified":true,"provenance":"source"}],"exploitRefs":["http://www.exploit-db.com/exploits/18245/"]}