Splunk / Product Security / SVD-2022-0506

Path Traversal in search parameter results in external content injection

Advisory ID: SVD-2022-0506

Published: 2022-05-03

CVSSv3.1 Score: 8.8, High

CWE: CWE-20

CVE ID: CVE-2022-26889

Last Update: 2022-05-24

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

Security Content: Path traversal SPL injection

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

Product Version Affected Versions Fix Version
Splunk Enterprise 8.2 - 8.2.0
Splunk Enterprise 8.1 8.1.1 and earlier 8.1.2

The vulnerability does not impact Splunk Cloud Platform instances. 

 

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.