2022-12-10 17:42:57 +00:00
|
|
|
id: kubernetes-etcd-keys
|
2022-12-10 13:48:10 +00:00
|
|
|
|
|
|
|
info:
|
2022-12-10 17:42:57 +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:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2022-12-10 13:48:10 +00:00
|
|
|
verified: true
|
|
|
|
github-query: filename:apiserver-etcd-client.key
|
2022-12-10 17:42:57 +00:00
|
|
|
tags: files,exposure,kubernetes,k8s
|
2022-12-10 13:48:10 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-12-10 13:48:10 +00:00
|
|
|
- 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
|