Rapid7

module

Authenticated RCE in Splunk (splunk_archiver app)

Disclosed
Jul 1, 2024
Created
Jan 21, 2026

Description

This Metasploit module exploits a Remote Code Execution (RCE) vulnerability in Splunk Enterprise (splunk_archiver application).

The flaw is rooted in the unsafe use of a Splunk lookup function, specifically | copybuckets, within the splunk_archiver application,
which ultimately leads to the execution of the helper script sudobash with attacker-controlled arguments.

The affected versions include any release prior to 9.0.10, as well as versions 9.1.2 through 9.1.5 and 9.2.0 through 9.2.2.

Authors

Maksim Rogov
Alex Hordijk
psytester

Platform

Linux,Unix

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