Path Traversal in search parameter results in external content injection

Advisory ID: SVD-2022-0506

CVE ID: CVE-2022-26889

Published: 2022-05-03

Last Update: 2022-05-03

CVSSv3.1 Score: 8.8, High

CWE: CWE-20

Bug ID: SPL-197247

Description

In Splunk Enterprise versions before 8.1.2, the uri path to load a relative resource within a web page is vulnerable to path traversal. It allows an attacker to potentially inject arbitrary content into the web page (e.g., HTML Injection, XSS) or bypass SPL safeguards for risky commands. The attack is browser-based. An attacker cannot exploit the attack at will and requires the attacker to initiate a request within the victim’s browser (e.g., phishing).

The vulnerability impacts instances with Splunkweb enabled. See Disable unnecessary Splunk Enterprise components and web.conf for more information on disabling Splunkweb.

Solution

Upgrade Splunk Enterprise to 8.1.2 or later.

Product Status

ProductVersionComponentAffected VersionFix Version
Splunk Enterprise8.1Splunk Web8.1.1 and earlier8.1.2
Splunk Enterprise8.2-Not affected-

The vulnerability does not impact Splunk Cloud Platform instances.

Detections

Acknowledgments

Jason Tsang Mui Chung

Changelog

2022-05-24: Updated the description from “The lack of sanitization in a relative url path in a search parameter allows for arbitrary injection of external content in Splunk Enterprise versions before 8.1.2. The vulnerability impacts instances with Splunkweb enabled. See Disable unnecessary Splunk Enterprise components and web.conf for more information on disabling Splunkweb.” to current.