nuclei-templates/misconfiguration/kubernetes/kubernetes-metrics.yaml

29 lines
662 B
YAML
Raw Normal View History

2021-09-04 09:53:49 +00:00
id: kubernetes-metrics
2021-09-03 14:42:53 +00:00
info:
name: Detect Kubernetes Exposed Metrics
author: pussycat0x
severity: low
description: Information Disclosure of Garbage Collection
2021-09-04 09:53:49 +00:00
tags: kubernetes,exposure,devops
reference: https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/#metrics-in-kubernetes
2021-09-03 14:42:53 +00:00
requests:
- method: GET
path:
2021-09-04 09:53:49 +00:00
- "{{BaseURL}}/metrics"
2021-09-03 14:42:53 +00:00
matchers-condition: and
matchers:
- type: word
part: body
2021-09-04 09:53:49 +00:00
condition: and
2021-09-03 14:42:53 +00:00
words:
- "namespace"
- "HELP"
- "TYPE"
- "kube"
2021-09-04 09:53:49 +00:00
2021-09-03 14:42:53 +00:00
- type: status
status:
- 200