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

42 lines
1.2 KiB
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.
2023-10-14 11:27:55 +00:00
remediation: https://etcd.io/docs/v2.3/authentication
2023-03-27 20:09:28 +00:00
reference:
- https://www.optiv.com/insights/source-zero/blog/kubernetes-attack-surface
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2023-03-27 20:09:28 +00:00
shodan-query: product:"etcd"
tags: tech,k8s,kubernetes,devops,etcd,unauth,anonymous,misconfig
2023-03-27 20:09:28 +00:00
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
# digest: 4b0a004830460221008197bef87fa34861d2ab1944cadad12bcc8360465948fba7f6ffbbdd432bffe8022100ddcdd2cbf42843e69e095e2128f27b60f788a0adf4a26940549c23bb62f239e6:922c64590222798bb761d5b6d8e72950