40 lines
978 B
YAML
40 lines
978 B
YAML
id: kubernetes-etcd-keys
|
|
|
|
info:
|
|
name: Kubernetes etcd Keys - Exposure
|
|
author: Hardik-Solanki
|
|
severity: medium
|
|
reference:
|
|
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
github-query: filename:apiserver-etcd-client.key
|
|
tags: files,exposure,kubernetes,k8s
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/apiserver-etcd-client.key"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '(?m)^-----BEGIN PRIVATE KEY-----'
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "application/json"
|
|
- "application/html"
|
|
condition: and
|
|
negative: true
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a00473045022077b713808952cd7c5a47d61ac8f2eb102e4fc29288c041434292cfd459dba3fb022100cf96d76ae0662e2eb9fc441c82cdbdfffdc4d70eaf6a609b24803d3eef9826ec:922c64590222798bb761d5b6d8e72950
|