Kube API Secrets
ID: kube-api-secrets
Severity: info
Author: sharath
Tags: tech,k8s,kubernetes,devops,kube
Description
Section titled “Description”Scans for kube secrets endpoint
YAML Source
Section titled “YAML Source”id: kube-api-secrets
info: name: Kube API Secrets author: sharath severity: info description: Scans for kube secrets endpoint metadata: max-request: 1 tags: tech,k8s,kubernetes,devops,kube
http: - method: GET path: - "{{BaseURL}}/api/v1/namespaces/default/secrets"
matchers-condition: and matchers: - type: status status: - 200
- type: word part: body words: - '"SecretList":' - '"items":' condition: and# digest: 490a0046304402205d1c8b5e28b0e227787e29afdddb37d5b9ea10ddc7006d58684bbf15ab413d3102203602082ee602ce332778eb34a9ca0923ddc85b8e6e4ebed9ca88a1ed9db912cc:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/technologies/kubernetes/kube-api/kube-api-secrets.yaml"