Risky command safeguards bypass via 'rex' search command field names in Splunk Enterprise
Advisory ID: SVD-2022-1103
CVE ID: CVE-2022-43563
Published: 2022-11-02
Last Update: 2022-11-11
CVSSv3.1 Score: 8.1, High, High
CVSSv3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CWE: CWE-20
Bug ID: SPL-223646
Description
In Splunk Enterprise versions below 8.2.9 and 8.1.12, the way that the ‘rex’ search command handles field names lets an attacker bypass SPL safeguards for risky commands. The vulnerability requires the attacker to phish the victim by tricking them into initiating a request within their browser. The attacker cannot exploit the vulnerability at will.
Solution
For Splunk Enterprise, upgrade versions to 8.1.12, 8.2.9, or higher.
For Splunk Cloud Platform, Splunk is actively patching and monitoring the Splunk Cloud instances.
Product Status
Product | Version | Component | Affected Version | Fix Version |
---|---|---|---|---|
Splunk Enterprise | 8.1 | Search | 8.1.11 and lower | 8.1.12 |
Splunk Enterprise | 8.2 | Search | 8.2.0 to 8.2.8 | 8.2.9 |
Splunk Enterprise | 9.0 | Not affected | ||
Splunk Cloud Platform | Search | 9.0.2202 and lower | 9.0.2203 |
Mitigations and Workarounds
The vulnerability affects instances with Splunk Web enabled, disabling Splunk Web 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 the vulnerability as High, 8.1, with a CVSS Vectors of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N. The vulnerability requires a user interaction within a browser of a privileged user. The vulnerability lets an attacker run risky commands with permissions of a user who holds the “power” Splunk role. For more information on risky commands and potential impacts, see SPL safeguards for risky commands.
If the Splunk Enterprise instance does not run Splunk Web, there is no impact and the severity is Informational.
Acknowledgments
Cuong Dong at Splunk
Changelog
2022-11-11: Added “Coung Dong” to the Acknowledgements section