Try in Splunk Security Cloud


In Splunk Enterprise versions below 9.1.1, 9.0.6, and 8.2.12, an attacker can craft a special web request that can result in reflected cross-site scripting XSS on the app search table web endpoint, which presents as the Create Table View page in Splunk Web. Exploitation of this vulnerability can lead to the execution of arbitrary commands on the Splunk platform instance. A JavaScript file within this web endpoint does not properly validate input which lets an attacker insert a payload into a function.

  • Type: Hunting
  • Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud

  • Last Updated: 2023-09-05
  • Author: Rod Soto
  • ID: 182f9080-4137-4629-94ac-cb1083ac981a




ID Technique Tactic
T1189 Drive-by Compromise Initial Access
Kill Chain Phase
  • Delivery
  • DE.AE
  • CIS 10
`splunkd_web` (dataset_commands="*makeresults*" AND dataset_commands="*count*" AND dataset_commands="*eval*" AND dataset_commands="*baseSPL*") 
| stats count min(_time) as firstTime max(_time) as lastTime by clientip status user view root uri_path 
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)` 
| `splunk_reflected_xss_on_app_search_table_endpoint_filter`


The SPL above uses the following Macros:

:information_source: splunk_reflected_xss_on_app_search_table_endpoint_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.

  • dataset_commands
  • clientip
  • status
  • user
  • view
  • root
  • uri_path

How To Implement

Need access to the internal indexes.

Known False Positives

This search will produce false positives. It is necessary to also look at uri_query parameter to determine the possible malicious intention of inserting makeresults within the uri string.

Associated Analytic Story


Risk Score Impact Confidence Message
12.0 30 40 Possible XSS attack against from $user$

:information_source: The Risk Score is calculated by the following formula: Risk Score = (Impact * Confidence/100). Initial Confidence and Impact is set by the analytic author.


Test Dataset

Replay any dataset to Splunk Enterprise by using our tool or the UI. Alternatively you can replay a dataset into a Splunk Attack Range

source | version: 1