From 537c13d063f58c92fdc66be41b5a01d9461ddc3e Mon Sep 17 00:00:00 2001 From: Rod Soto <50486899+rosplk@users.noreply.github.com> Date: Tue, 30 Aug 2022 11:56:41 -0700 Subject: [PATCH 1/2] addedwords --- detections/application/path_traversal_spl_injection.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/detections/application/path_traversal_spl_injection.yml b/detections/application/path_traversal_spl_injection.yml index 94109fdec1..c1ccd2e5c5 100644 --- a/detections/application/path_traversal_spl_injection.yml +++ b/detections/application/path_traversal_spl_injection.yml @@ -7,7 +7,7 @@ type: TTP datamodel: [] search: ' `path_traversal_spl_injection` | search "\/..\/..\/..\/..\/..\/..\/..\/..\/..\/" | stats count by status clientip method uri_path uri_query | `path_traversal_spl_injection_filter`' description: On May 3rd, 2022, Splunk published a security advisory for a Path traversal in search parameter that can potentiall allow SPL injection. An attacker can cause the application to load data from incorrect endpoints, urls leading to outcomes such as running arbitrary SPL queries. -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. This search will provide search UI requests with path traversal parameter ("../../../../../../../../../") which shows exploitation attempts. +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. This search will provide search UI requests with path traversal parameter ("../../../../../../../../../") which shows exploitation attempts. This detection is meant for on premise environments, and if executed on internet facing servers without a WAF may produce a lot of results. This detection will not work against obfuscated path traversal requests. known_false_positives: This search may find additional path traversal exploitation attempts. references: - https://www.splunk.com/en_us/product-security/announcements/svd-2022-0506.html @@ -40,7 +40,6 @@ tags: product: - Splunk Enterprise - Splunk Enterprise Security - - Splunk Cloud required_fields: - status - clientip From 73e84a326dc4ab90205752e1d8cd3211ce585332 Mon Sep 17 00:00:00 2001 From: Rod Soto <50486899+rosplk@users.noreply.github.com> Date: Tue, 6 Sep 2022 13:40:08 -0700 Subject: [PATCH 2/2] fixedpathlog --- tests/application/path_traversal_spl_injection.test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/application/path_traversal_spl_injection.test.yml b/tests/application/path_traversal_spl_injection.test.yml index c59e89061f..2fadba7cf2 100644 --- a/tests/application/path_traversal_spl_injection.test.yml +++ b/tests/application/path_traversal_spl_injection.test.yml @@ -8,6 +8,6 @@ tests: attack_data: - file_name: path_traversal_spl_injection.txt data: https://raw.githubusercontent.com/splunk/attack_data/master/datasets/attack_techniques/T1083/splunk/path_traversal_spl_injection.txt - source: c:\opt\splunk\var\log\splunk\splunkd_ui_access.log + source: splunkd_ui_access.log sourcetype: splunkd_ui_access custom_index: _internal