CVE-2023-37916 Leak password hash of any user

Medium 6.5 Published Updated

An unauthenticated attacker can retrieve password hashes for any user, including admins, via a search API endpoint in KubePi.

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-37916?

CVE-2023-37916 is a medium-severity 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. The endpoint /kubepi/api/v1/users/search?pageNum=1&&pageSize=10 leak password hash of any user (including admin). A sufficiently motivated attacker may be able to crack leaded password hashes. 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-200

Which versions are affected by CVE-2023-37916?

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-37916?

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

Is CVE-2023-37916 being exploited?

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

Sources

Also known as GHSA-87f6-8gr7-pc6h, GO-2023-1957.

Is CVE-2023-37916 in your software?

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

Check your SBOMs for free