CVE-2023-37917 Privilege Escalation in kubepi

Critical 9.1 Published Updated

A normal user can escalate to admin by modifying the isadmin parameter, allowing full control of the KubePi panel.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-37917?

CVE-2023-37917 is a critical vulnerability in 1Panel-dev KubePi, published on 21 Jul 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

KubePi is an opensource kubernetes management panel. A normal user has permission to create/update users, they can become admin by editing the `isadmin` value in the request. As a result any user may take administrative control of KubePi. This issue has been addressed in version 1.6.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-269

Which versions are affected by CVE-2023-37917?

3 open source packages ship an affected version, including github.com/KubeOperator/kubepi. It affects 1 product.

PackageAffectedFixed in
github.com/KubeOperator/kubepi GoAll versions1.6.5
github.com/KubeOperator/kubepi GoAll versions1.6.5
github.com/KubeOperator/kubepi GoAll versions1.6.5

Products include Fit2cloud Kubepi.

How do I fix CVE-2023-37917?

Upgrade github.com/KubeOperator/kubepi to 1.6.5 or later.

Is CVE-2023-37917 being exploited?

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

Sources

Also known as GHSA-757p-vx43-fp9r, GO-2023-1956.

Is CVE-2023-37917 in your software?

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

Check your SBOMs for free