32 lines
662 B
YAML
32 lines
662 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: word
|
|
part: body
|
|
words:
|
|
- 'BEGIN RSA PRIVATE KEY'
|
|
- 'END RSA PRIVATE KEY'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|