nuclei-templates/http/misconfiguration/kubernetes/unauth-etcd-server.yaml

40 lines
990 B
YAML
Raw Normal View History

2023-03-27 20:09:28 +00:00
id: unauth-etcd-server
info:
name: Etcd Server - Unauthenticated Access
author: sharath,pussycat0x
severity: high
description: |
A Kubernetes etcd server stores the cluster secrets and configurations files. Anonymous access on etcd allows unauthenticated access the data without providing any authentication credentials.
reference:
- https://www.optiv.com/insights/source-zero/blog/kubernetes-attack-surface
remediation: https://etcd.io/docs/v2.3/authentication
metadata:
max-request: 1
2023-06-04 08:13:42 +00:00
verified: true
2023-03-27 20:09:28 +00:00
shodan-query: product:"etcd"
tags: tech,k8s,kubernetes,devops,etcd,unauth,anonymous
http:
2023-03-27 20:09:28 +00:00
- method: GET
path:
- "{{BaseURL}}/v2/keys/"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"node":'
- '"key":'
condition: and
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200