Persistent XSS in RapidDiag through User Interface Views
Description
In Splunk Enterprise 9.0 versions before 9.0.4, a View allows for Cross-Site Scripting through the error message in a Base64-encoded image. The vulnerability affects instances with Splunk Web enabled. It does not affect Splunk Enterprise versions below 9.0. This search provides information on what user may have potentially added a malicious payload and what users were exposed to it.
- Type: TTP
-
Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud
- Last Updated: 2023-02-14
- Author: Rod Soto, Splunk
- ID: ce6e1268-e01c-4df2-a617-0f034ed49a43
Annotations
Kill Chain Phase
- Exploitation
NIST
- DE.CM
CIS20
- CIS 3
- CIS 5
- CIS 16
CVE
ID | Summary | CVSS |
---|---|---|
CVE-2023-22932 | In Splunk Enterprise 9.0 versions before 9.0.4, a View allows for Cross-Site Scripting (XSS) through the error message in a Base64-encoded image. The vulnerability affects instances with Splunk Web enabled. It does not affect Splunk Enterprise versions below 9.0. | None |
Search
1
2
3
4
`audit_searches` path=/opt/splunk/etc/users/*/search/local/data/ui/views/* action=*
|table user action roles info roles path
| dedup user action
| `persistent_xss_in_rapiddiag_through_user_interface_views_filter`
Macros
The SPL above uses the following Macros:
persistent_xss_in_rapiddiag_through_user_interface_views_filter is a empty macro by default. It allows the user to filter out any results (false positives) without editing the SPL.
Required fields
List of fields required to use this analytic.
- user
- action
- roles
- info
- roles
- path
How To Implement
This detection does not require you to ingest any new data. The detection does require the ability to search the _internal index
Known False Positives
This is a hunting search, it will not deobfuscate base64 payload, it provides however it will provide what user added the view artifact and what user opened it. It will require further investigation based on the information presented by this hunting search.
Associated Analytic Story
RBA
Risk Score | Impact | Confidence | Message |
---|---|---|---|
25.0 | 50 | 50 | A potential XSS attempt has been detected from $user$ |
The Risk Score is calculated by the following formula: Risk Score = (Impact * Confidence/100). Initial Confidence and Impact is set by the analytic author.
Reference
Test Dataset
Replay any dataset to Splunk Enterprise by using our replay.py
tool or the UI.
Alternatively you can replay a dataset into a Splunk Attack Range
source | version: 1