nuclei-templates/http/exposures/files/kubernetes-etcd-keys.yaml

40 lines
978 B
YAML
Raw Normal View History

id: kubernetes-etcd-keys
2022-12-10 13:48:10 +00:00
info:
2023-11-20 09:14:11 +00:00
name: Kubernetes etcd Keys - Exposure
2022-12-10 13:48:10 +00:00
author: Hardik-Solanki
2022-12-12 17:51:38 +00:00
severity: medium
reference:
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
2022-12-10 13:48:10 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2022-12-10 13:48:10 +00:00
github-query: filename:apiserver-etcd-client.key
tags: files,exposure,kubernetes,k8s
2022-12-10 13:48:10 +00:00
http:
2022-12-10 13:48:10 +00:00
- method: GET
path:
- "{{BaseURL}}/apiserver-etcd-client.key"
matchers-condition: and
matchers:
2023-11-20 09:14:11 +00:00
- type: regex
2022-12-10 13:48:10 +00:00
part: body
2023-11-20 09:14:11 +00:00
regex:
- '(?m)^-----BEGIN PRIVATE KEY-----'
- type: word
part: header
2022-12-10 13:48:10 +00:00
words:
2023-11-20 09:14:11 +00:00
- "application/json"
- "application/html"
2022-12-10 13:48:10 +00:00
condition: and
2023-11-20 09:14:11 +00:00
negative: true
2022-12-10 13:48:10 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022077b713808952cd7c5a47d61ac8f2eb102e4fc29288c041434292cfd459dba3fb022100cf96d76ae0662e2eb9fc441c82cdbdfffdc4d70eaf6a609b24803d3eef9826ec:922c64590222798bb761d5b6d8e72950