Risky command safeguards bypass in “/services/streams/search“ endpoint through “q“ parameter in Splunk Enterprise
Advisory ID: SVD-2025-0305
CVE ID: CVE-2025-20226
Published: 2025-03-26
Last Update: 2025-03-26
CVSSv3.1 Score: 5.7, Medium
CVSSv3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
CWE: CWE-200
Bug ID: VULN-21664
Description
In Splunk Enterprise versions below 9.4.1, 9.3.3, 9.2.5, and 9.1.8 and Splunk Cloud Platform versions below 9.3.2408.107, 9.2.2406.111, and 9.1.2308.214, a low-privileged user that does not hold the “admin“ or “power“ Splunk roles could run a saved search with a risky command using the permissions of a higher-privileged user to bypass the SPL safeguards for risky commands on the “/services/streams/search“ endpoint through its “q“ parameter.
The vulnerability requires the attacker to phish the victim by tricking them into initiating a request within their browser. The authenticated user should not be able to exploit the vulnerability at will.
Solution
Upgrade Splunk Enterprise to versions 9.4.1, 9.3.3, 9.2.5, 9.1.8, or higher.
Splunk is actively monitoring and patching Splunk Cloud Platform instances.
Product Status
Product | Version | Component | Affected Version | Fix Version |
---|---|---|---|---|
Splunk Enterprise | 9.4 | 9.4.0 | 9.4.1 | |
Splunk Enterprise | 9.3 | 9.3.0 to 9.3.2 | 9.3.3 | |
Splunk Enterprise | 9.2 | 9.2.0 to 9.2.4 | 9.2.5 | |
Splunk Enterprise | 9.1 | 9.1.0 to 9.1.7 | 9.1.8 | |
Splunk Cloud Platform | 9.3.2408 | Splunk Web | 9.3.2408.100 to 9.3.2408.106 | 9.3.2408.107 |
Splunk Cloud Platform | 9.2.2406 | Splunk Web | 9.2.2406.100 to 9.2.2406.110 | 9.2.2406.111 |
Splunk Cloud Platform | 9.1.2308 | Splunk Web | Below 9.1.2308.214 | 9.1.2308.214 |
Mitigations and Workarounds
The vulnerability affects instances with Splunk Web enabled, turning Splunk Web off is a possible workaround. See Disable unnecessary Splunk Enterprise components and the web.conf configuration specification file for more information on disabling Splunk Web.
Detections
None
Severity
Splunk rates this vulnerability as a 5.7, Medium, with a CVSSv3.1 vector of CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N.
Acknowledgments
Anton (therceman)