Splunk CSRF in the SSG kvstore Client Endpoint
Description
The following analytic identifies attempts to exploit a cross-site request forgery (CSRF) vulnerability in the Splunk Secure Gateway (SSG) app's kvstore_client endpoint. It detects GET requests to the vulnerable endpoint using internal index data, focusing on specific URI paths and HTTP methods. This activity is significant because it can allow unauthorized updates to SSG KV store collections, potentially leading to data manipulation or unauthorized access. If confirmed malicious, this could enable attackers to alter critical configurations or exfiltrate sensitive information, compromising the integrity and security of the Splunk environment.
- Type: TTP
-
Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud
- Last Updated: 2024-07-01
- Author: Rod Soto
- ID: 4742d5f7-ce00-45ce-9c79-5e98b43b4410
Annotations
Kill Chain Phase
- Delivery
NIST
- DE.CM
CIS20
- CIS 10
CVE
Search
1
2
3
`splunkda` uri_path="/*/splunkd/__raw/services/ssg/kvstore_client" method="GET" delete_field_value="spacebridge_server" status="200"
| table splunk_server status uri delete_field_value method post_data
| `splunk_csrf_in_the_ssg_kvstore_client_endpoint_filter`
Macros
The SPL above uses the following Macros:
splunk_csrf_in_the_ssg_kvstore_client_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.
- splunk_server
- status
- uri
- delete_field_value
- method
- post_data
How To Implement
Requires access to internal index.
Known False Positives
This hunting search only applies to the affected versions and setup mentioned in the description of this search, it does not extract payload so it requires manual investigation after executing search. This search will produce false positives.
Associated Analytic Story
RBA
Risk Score | Impact | Confidence | Message |
---|---|---|---|
25.0 | 50 | 50 | Potential CSRF exploitation attempt from $splunk_server$ |
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: 3