CVE-2022-45933 KubeView vulnerable to full cluster takeover due to improper authentication

Critical 9.8 Published Updated

Attackers can gain admin control of Kubernetes clusters because KubeView exposes certificate files without authentication.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-45933?

CVE-2022-45933 is a critical missing authorization vulnerability in n/a, published on 27 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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."

Weakness: CWE-306

Which versions are affected by CVE-2022-45933?

2 open source packages ship an affected version, including github.com/benc-uk/kubeview. It affects 1 product.

PackageAffectedFixed in
github.com/benc-uk/kubeview GoAll versions to 0.1.31None
github.com/benc-uk/kubeview GoAll versions to 0.1.31None

Products include Kubeview Project Kubeview.

How do I fix CVE-2022-45933?

No fix has been published for CVE-2022-45933 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-45933 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45933 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-22vc-5pgw-644q.

Is CVE-2022-45933 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free