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.
|
2024-09-10 09:08:16 +00:00
|
|
|
classification:
|
|
|
|
cpe: cpe:2.3:a:elasticsearch:elasticsearch:*:*:*:*:*:*:*:*
|
2022-12-05 12:00:14 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 4
|
2024-09-10 08:22:50 +00:00
|
|
|
vendor: elasticsearch
|
2024-09-10 09:08:16 +00:00
|
|
|
product: elasticsearch
|
|
|
|
shodan-query: "ElasticSearch"
|
2023-06-02 23:20:49 +00:00
|
|
|
tags: elastic,unauth,elasticsearch,misconfig
|
2020-06-19 23:37:41 +00:00
|
|
|
|
2023-04-27 04:28:59 +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.]+)"'
|
2024-09-12 05:14:01 +00:00
|
|
|
# digest: 4a0a00473045022100b8631cf3b90cd94fc2f4563571fdd88b2761a16e7aefda5bbd04f0f8923aaaec022054293fed5c87a4102f3f177b50621889eddb121b80cfaf07704e2b7dbd78365d:922c64590222798bb761d5b6d8e72950
|