nuclei-templates/http/misconfiguration/elasticsearch.yaml

49 lines
983 B
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:
max-request: 4
2022-12-05 12:00:14 +00:00
verified: true
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
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.]+)"'