Create kube-apiserver-keys.yaml

patch-1
Hardik Solanki 2022-12-10 13:48:10 +00:00 committed by GitHub
parent 9902c4d33a
commit b3ba8b0e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -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