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
CVSSv3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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
Product | Version | Component | Affected Version | Fix Version |
---|---|---|---|---|
Splunk Enterprise | 8.1 | Splunk Web | 8.1.1 and earlier | 8.1.2 |
Splunk Enterprise | 8.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.