nuclei-templates/http/misconfiguration/elasticsearch.yaml

52 lines
1.2 KiB
YAML
Raw Normal View History

2020-06-19 23:37:41 +00:00
id: elasticsearch
info:
name: ElasticSearch Information Disclosure
2022-12-05 12:00:14 +00:00
author: Shine,c-sh0,geeknik
2020-06-19 23:37:41 +00:00
severity: low
2022-12-05 12:00:14 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 4
2022-12-05 12:00:14 +00:00
shodan-query: "ElasticSearch"
tags: elastic,unauth,elasticsearch,misconfig
2020-06-19 23:37:41 +00:00
http:
2020-06-19 23:37:41 +00:00
- method: GET
path:
2022-03-24 12:25:39 +00:00
- '{{BaseURL}}/?pretty'
2020-06-19 23:37:41 +00:00
- '{{BaseURL}}/_cat/indices?v'
- '{{BaseURL}}/_all/_search'
2022-12-05 12:00:14 +00:00
- "{{BaseURL}}/_cluster/health?pretty"
2020-07-08 08:45:37 +00:00
2022-03-24 12:25:39 +00:00
stop-at-first-match: true
2023-10-14 11:27:55 +00:00
2020-07-08 08:45:37 +00:00
matchers-condition: and
2020-06-19 23:37:41 +00:00
matchers:
- type: word
words:
- '"took":'
2022-03-24 12:25:39 +00:00
- '"number" :'
2022-12-09 08:49:16 +00:00
- '"number_of_nodes"'
condition: or
- type: word
part: header
words:
- application/json
- application/vnd.api+json
- text/plain
2022-03-24 12:25:39 +00:00
condition: or
2020-06-19 23:37:41 +00:00
- type: status
status:
- 200
2022-03-24 12:25:39 +00:00
extractors:
- type: regex
part: body
group: 1
regex:
- '"number"\s:\s"([0-9.]+)"'
# digest: 4a0a004730450220041bb329eab38b5d572d68f256c675ed853783e1b90e4eaed6a9f9295f9b8360022100eb0eb861974fdf8584bbc94c323c2a72a68b99a9d3986633b65482ec863535d1:922c64590222798bb761d5b6d8e72950