| ID | Technique | Tactic |
|---|---|---|
| T1189 | Drive-by Compromise | Initial Access |
Detection: Splunk Stored XSS conf-web Settings on Premises
REMOVED DETECTION
This detection has been removed from the Splunk Threat Research content library and is no longer maintained or supported.
Reason: Detection is deprecated as the associated CVEs have been patched in the latest Splunk release.
Removed in version: 5.6.0
If you have any questions or concerns, please reach out to us at research@splunk.com.
Description
This hunting detection provides information on exploitation of stored XSS against /configs/conf-web/settings by an admin level user.
Search
1`splunk_python` *script* *eval*
2| stats min(_time) as firstTime max(_time) as lastTime by index, sourcetype, host
3| `security_content_ctime(firstTime)`
4| `security_content_ctime(lastTime)`
5| `splunk_stored_xss_conf_web_settings_on_premises_filter`
Data Source
| Name | Platform | Sourcetype | Source |
|---|---|---|---|
| Splunk | 'splunkd_ui_access' |
'splunkd_ui_access.log' |
Macros Used
| Name | Value |
|---|---|
| splunk_python | index=_internal sourcetype=splunk_python |
| splunk_stored_xss_conf_web_settings_on_premises_filter | `` |
splunk_stored_xss_conf_web_settings_on_premises_filter is an empty macro by default. It allows the user to filter out any results (false positives) without editing the SPL.
Annotations
CVE
Default Configuration
This detection is configured by default in Splunk Enterprise Security to run with the following settings:
| Setting | Value |
|---|---|
| Disabled | true |
| Cron Schedule | N/A |
| Earliest Time | N/A |
| Latest Time | N/A |
| Schedule Window | N/A |
| Creates Finding (Notable) | No |
| Creates Intermediate Finding (Risk Event) | No |
Implementation
Requires access to internal indexes.
Known False Positives
This is a hunting search and will produce false positives, operator must identify XSS elemetns in the splunk_python log related to the vulnerable endpoint.
Associated Analytic Story
References
Detection Testing
| Test Type | Status | Dataset | Source | Sourcetype |
|---|---|---|---|---|
| Validation | Not Applicable | N/A | N/A | N/A |
| Unit | Not Applicable | N/A | N/A |
N/A |
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: GitHub |
Version: 5