nuclei-templates/http/misconfiguration/elasticsearch.yaml

51 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
2024-01-03 06:08:41 +00:00
description: Internal information is exposed in elasticsearch to external users.
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: 490a0046304402207b44d14688d4487c464122b6e50ecfa3559829942a4dd3bcbe6a74ae7fa56e8d02204fea683b7c3a02f35cc6c012dc4792d3cfd602f30f84b57a8d1aaab32d4ad067:922c64590222798bb761d5b6d8e72950