Files
nuclei-templates/http/technologies/kubernetes/kube-api/kube-api-version.yaml
2024-12-01 13:57:55 +00:00

35 lines
855 B
YAML

id: kube-api-version
info:
name: Kube API Version
author: sharath,raesene
severity: info
description: Searches for exposed Kubernetes API servers which return version information unauthenticated
metadata:
max-request: 1
tags: tech,k8s,kubernetes,devops,kube
http:
- method: GET
path:
- "{{BaseURL}}/version"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '"major":'
- '"minor":'
- '"goVersion":'
condition: and
extractors:
- type: json
json:
- ".gitVersion"
# digest: 4b0a00483046022100835115fbfa8dce5b1ea51858d94a05ab1b37955b61da206fc27bd77c3f8dc335022100c9c8c2888b58bdd701b7cc19ec3da5efb852f2c35ba0cac305845f8c860b5c2c:922c64590222798bb761d5b6d8e72950