Kube API Namespaces
ID: kube-api-namespaces
Severity: info
Author: sharath
Tags: tech,k8s,kubernetes,devops,kube
Description
Section titled “Description”Scans for kube namespaces
YAML Source
Section titled “YAML Source”id: kube-api-namespaces
info: name: Kube API Namespaces author: sharath severity: info description: Scans for kube namespaces metadata: max-request: 1 tags: tech,k8s,kubernetes,devops,kube
http: - method: GET path: - "{{BaseURL}}/api/v1/namespaces"
matchers-condition: and matchers: - type: status status: - 200
- type: word part: body words: - '"NamespaceList":' - '"items":' condition: and# digest: 4a0a004730450220249cfbb88437aab498426e1e5439c18f6cb9cfde883c59aa542d1cdb15754db9022100887afe2532d41594b00de5abce344ff1d4054b87e50ce2670918d4881b2c95bd: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-namespaces.yaml"