Authenticated code execution via unchecked sudobash arguments
Published Jul 1, 2024 · Updated Feb 28, 2025
RCE in Splunk Enterprise 9.0 through 9.0.9, 9.1 through 9.1.4, and 9.2 through 9.2.1 allows remote authenticated users to run commands. The copybuckets external lookup passes attacker-controlled arguments through erp_launcher.py to the sudobash helper, which opens a Bash shell without validating its input. A low-privileged account is sufficient when splunk_archiver is enabled, allowing commands to run with the Splunk service's permissions.
Summary
What happened
RCE in Splunk Enterprise 9.0 through 9.0.9, 9.1 through 9.1.4, and 9.2 through 9.2.1 allows remote authenticated users to run commands. The copybuckets external lookup passes attacker-controlled arguments through erp_launcher.py to the sudobash helper, which opens a Bash shell without validating its input. A low-privileged account is sufficient when splunk_archiver is enabled, allowing commands to run with the Splunk service's permissions.
The record
- CVE
- CVE-2024-36985
- Published
- Jul 1, 2024
- Updated
- Feb 28, 2025
- Vendor
- Splunk, Inc.
- Product
- Splunk Enterprise
- Classifications
- CWE-687, T1059.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 1, 2024CVE publishedPublication date reported by the CVE source.
- Feb 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=9.0 <9.0.10
- Affected versionversion=9.1 <9.1.5
- Affected versionversion=9.2 <9.2.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Metasploit authenticated Splunk RCE modulefunctional · validated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo