2021-03-08 20:08:32 +00:00
|
|
|
id: http-etcd-unauthenticated-api-data-leak
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: etcd Unauthenticated HTTP API Leak
|
|
|
|
author: dhiyaneshDk
|
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://hackerone.com/reports/1088429
|
2023-03-07 09:06:11 +00:00
|
|
|
tags: misconfig,hackerone,unauth,etcd
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-03-08 20:08:32 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-03-08 20:08:32 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2021-03-09 09:04:36 +00:00
|
|
|
- "{{BaseURL}}/v2/auth/roles"
|
2023-03-07 09:06:11 +00:00
|
|
|
|
2021-03-08 20:08:32 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2023-03-07 09:06:11 +00:00
|
|
|
part: body
|
2021-03-08 20:08:32 +00:00
|
|
|
words:
|
2021-03-09 09:04:36 +00:00
|
|
|
- '"roles"'
|
|
|
|
- '"permissions"'
|
2021-03-08 20:08:32 +00:00
|
|
|
- '"role"'
|
2021-03-09 09:04:36 +00:00
|
|
|
- '"kv"'
|
|
|
|
condition: and
|
2023-03-07 09:06:11 +00:00
|
|
|
|
2021-03-09 09:04:36 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/plain"
|
2023-03-07 09:06:11 +00:00
|
|
|
- "application/json"
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|