Merge pull request #6315 from HardikSolanki96/kube-apiserver-keys

Kube apiserver keys.yaml
patch-1
Ritik Chaddha 2022-12-12 23:23:48 +05:30 committed by GitHub
commit 658c1fa002
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: 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
github-query: filename:apiserver-etcd-client.key
tags: files,exposure,kubernetes,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