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

34 lines
764 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:
2021-07-23 21:33:31 +00:00
- type: word
part: body
2021-07-23 21:33:31 +00:00
condition: or
words:
- "apiVersion:"
- "resources:"
- "namespace:"
- "commonLabels:"
- "Kustomization"
2021-08-17 16:41:28 +00:00
- type: dsl
dsl:
- "contains(tolower(all_headers), 'application/yaml')"
- type: status
status:
- 200