nuclei-templates/exposures/configs/kubernetes-kustomization-di...

31 lines
837 B
YAML
Raw Normal View History

id: kubernetes-kustomization-disclosure
info:
name: Kubernetes Kustomization Disclosure
author: dhiyaneshDk
severity: medium
reference: https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/kubernetes-kustomization-disclosure.json
tags: exposure,config
requests:
- method: GET
path:
- "{{BaseURL}}/kustomization.yml"
matchers-condition: and
matchers:
- type: word
words:
- "(?m)^\\s*apiVersion\\s*:\\s*kustomize\\.config"
- "(?mi)^\\s*kind\\s*:\\s*Kustomization"
- "(?m)^\\scommonLabels\\s*:"
- "(?m)^\\sresources\\s*:"
- "(?m)^\\snamespace\\s*:"
part: body
- type: word
words:
- "Content-Type: application/yaml"
part: header
- type: status
status:
- 200