2021-07-21 08:06:59 +00:00
|
|
|
id: kubernetes-kustomization-disclosure
|
|
|
|
|
|
|
|
info:
|
2023-02-09 21:30:02 +00:00
|
|
|
name: Kubernetes Kustomize Configuration - Detect
|
2021-07-21 08:06:59 +00:00
|
|
|
author: dhiyaneshDk
|
|
|
|
severity: medium
|
2023-02-09 21:30:02 +00:00
|
|
|
description: Kubernetes Kustomize configuration was detected.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/kubernetes-kustomization-disclosure.json
|
2023-02-09 21:30:02 +00:00
|
|
|
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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: exposure,config,kubernetes
|
2021-07-21 08:06:59 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-21 08:06:59 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/kustomization.yml"
|
2021-07-23 04:15:44 +00:00
|
|
|
|
2021-07-21 08:06:59 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2021-07-23 21:33:31 +00:00
|
|
|
- type: word
|
2021-07-21 08:06:59 +00:00
|
|
|
part: body
|
2021-07-23 21:33:31 +00:00
|
|
|
condition: or
|
|
|
|
words:
|
|
|
|
- "apiVersion:"
|
|
|
|
- "resources:"
|
|
|
|
- "namespace:"
|
|
|
|
- "commonLabels:"
|
|
|
|
- "Kustomization"
|
2021-07-23 04:15:52 +00:00
|
|
|
|
2021-08-17 16:41:28 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2023-06-19 21:10:30 +00:00
|
|
|
- "contains(tolower(header), 'application/yaml')"
|
2021-07-23 04:15:58 +00:00
|
|
|
|
2021-07-21 08:06:59 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402207f74b373077daa7fef7496b05885e909bd8531807b04089a1df98c45f8fa252a02203a446feb30792df8c5287e129dc08064c445dd0407d877b78cef4003b6c5c399:922c64590222798bb761d5b6d8e72950
|