Skip to content

Kube API Secrets

ID: kube-api-secrets

Severity: info

Author: sharath

Tags: tech,k8s,kubernetes,devops,kube

Scans for kube secrets endpoint

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:922c64590222798bb761d5b6d8e72950

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.

Terminal window
$ nuclei -u "URL" -t "http/technologies/kubernetes/kube-api/kube-api-secrets.yaml"

View on Github