enhancement

patch-1
pussycat0x 2023-03-28 01:39:28 +05:30 committed by GitHub
parent 75068a3af9
commit 69dbbd9ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 26 deletions

View File

@ -0,0 +1,38 @@
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:
verified: "true"
shodan-query: product:"etcd"
tags: tech,k8s,kubernetes,devops,etcd,unauth,anonymous
requests:
- 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

View File

@ -1,26 +0,0 @@
id: etcd-keys
info:
name: Etcd Keys
author: sharath
severity: info
description: Scans for etcd keys
tags: tech,k8s,kubernetes,devops,etcd
requests:
- method: GET
path:
- "{{BaseURL}}/v2/keys/"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '"node":'
- '"key":'
condition: and