41 lines
924 B
YAML
41 lines
924 B
YAML
id: http-etcd-unauthenticated-api-data-leak
|
|
|
|
info:
|
|
name: etcd Unauthenticated HTTP API Leak
|
|
author: dhiyaneshDk
|
|
severity: high
|
|
reference:
|
|
- https://hackerone.com/reports/1088429
|
|
metadata:
|
|
max-request: 1
|
|
tags: misconfig,hackerone,unauth,etcd
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/v2/auth/roles"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"roles"'
|
|
- '"permissions"'
|
|
- '"role"'
|
|
- '"kv"'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/plain"
|
|
- "application/json"
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4b0a00483046022100897d3dde5e9a2dfd0ab7d17ab781c555d44ad28bc754236ec6bf33a7ec4c0d7c022100f5ba5418fa82fa65ff1d95bedc9dffea5b1861016c575cc71e7898fbd6c8a3ea:922c64590222798bb761d5b6d8e72950
|