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

42 lines
1.2 KiB
YAML
Raw Normal View History

id: kubernetes-kustomization-disclosure
info:
name: Kubernetes Kustomize Configuration - Detect
author: dhiyaneshDk
severity: medium
description: Kubernetes Kustomize configuration was detected.
reference:
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/kubernetes-kustomization-disclosure.json
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cwe-id: CWE-200
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: exposure,config,kubernetes
http:
- 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(header), 'application/yaml')"
- type: status
status:
- 200
# digest: 490a0046304402207f74b373077daa7fef7496b05885e909bd8531807b04089a1df98c45f8fa252a02203a446feb30792df8c5287e129dc08064c445dd0407d877b78cef4003b6c5c399:922c64590222798bb761d5b6d8e72950