Skip to main content

SPLUNK / PRODUCT SECURITY / SVD-2022-1103

Risky command safeguards bypass via ‘rex’ search command field names in Splunk Enterprise

Advisory ID: SVD-2022-1103

Published: 2022-11-02

CVSSv3.1 Score: 8.1,  High

CWE: CWE-20

CVE ID: CVE-2022-43563

Last Update: 2022-11-11

CVSSv3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

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 versions below 9.0.2203, Splunk is actively patching and monitoring the Splunk Cloud instances. To request an immediate upgrade, determine which version of Splunk Cloud Platform you're running, then create a new support case.

Product Status

ProductVersionComponentAffected VersionFixed Version
Splunk Enterprise8.1Search8.1.11 and lower8.1.12
Splunk Enterprise8.2Search
8.2.0 to 8.2.88.2.9
Splunk Enterprise9.0SearchNot affected-
Splunk Cloud Platform-Search9.0.2202 and lower9.0.2203

Mitigations and Workarounds

If users do not log in to Splunk Web on indexers in a distributed environment, disable Splunk Web on those indexers. See Disable unnecessary Splunk Enterprise components and the web.conf configuration specification file for more information on disabling Splunk Web.Detections 

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


Questions? Submit your question to Splunk Support.