Create kube-apiserver-keys.yaml
parent
9902c4d33a
commit
b3ba8b0e23
|
@ -0,0 +1,30 @@
|
|||
id: kube-apiserver-keys
|
||||
|
||||
info:
|
||||
name: Kubernetes API Server Private Key Disclosure
|
||||
author: Hardik-Solanki
|
||||
severity: high
|
||||
metadata:
|
||||
verified: true
|
||||
github-query: filename:apiserver-etcd-client.key
|
||||
reference:
|
||||
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
|
||||
tags: files,exposure,kube,k8s
|
||||
|
||||
requests:
|
||||
- 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
|
Loading…
Reference in New Issue