nuclei-templates/http/exposures/files/kubernetes-etcd-keys.yaml

39 lines
1.0 KiB
YAML
Raw Normal View History

id: kubernetes-etcd-keys
2022-12-10 13:48:10 +00:00
info:
2023-11-20 09:14:11 +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
2024-01-02 16:16:15 +00:00
description: Kubernetes private etcd keys are exposed.
2022-12-12 17:51:38 +00:00
reference:
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
2022-12-10 13:48:10 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2022-12-10 13:48:10 +00:00
github-query: filename:apiserver-etcd-client.key
tags: files,exposure,kubernetes,k8s
2022-12-10 13:48:10 +00:00
http:
2022-12-10 13:48:10 +00:00
- method: GET
path:
- "{{BaseURL}}/apiserver-etcd-client.key"
matchers-condition: and
matchers:
2023-11-20 09:14:11 +00:00
- type: regex
2022-12-10 13:48:10 +00:00
part: body
2023-11-20 09:14:11 +00:00
regex:
- '(?m)^-----BEGIN PRIVATE KEY-----'
- type: word
part: header
2022-12-10 13:48:10 +00:00
words:
2023-11-20 09:14:11 +00:00
- "application/json"
- "application/html"
2022-12-10 13:48:10 +00:00
condition: and
2023-11-20 09:14:11 +00:00
negative: true
2022-12-10 13:48:10 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022034e5764aafbbc6c19cac738d35f792f7cda6fba56345a2b98012bb9650b3d6c2022100c7d32a862909f554f741d5f1d5adf1af5b46c7c4d746495e4ea267eafddd3a7c:922c64590222798bb761d5b6d8e72950