Patchfirst
CVE-2024-36111 Medium · 6.3 EPSS 8.4%

KubePi's JWT token validation has a defect

No fixed version listed yet.Check the vendor advisory. References ↓

1Panel-dev · KubePi

Summary

KubePi, a Kubernetes management panel from 1Panel-dev, has a JWT token verification defect in its default configuration: the signing key ships empty, and while the configuration reader generates a random key to overwrite it, the empty key is still used during actual verification. An attacker with network access to the panel and low-privilege credentials (no user interaction needed) can forge a JWT signed with the empty key to bypass login verification and take over the back end; the flaw affects versions from 1.6.3 up to but not including 1.8.0.

Official description · CVE.org

KubePi is a K8s panel. Starting in version 1.6.3 and prior to version 1.8.0, there is a defect in the KubePi JWT token verification. The JWT key in the default configuration file is empty. Although a random 32-bit string will be generated to overwrite the key in the configuration file when the key is detected to be empty in the configuration file reading logic, the key is empty during actual verification. Using an empty key to generate a JWT token can bypass the login verification and directly take over the back end. Version 1.8.0 contains a patch for this issue.

Breakdown
58.4 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 4 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+4 mo

Affected versions and fixes

as published in the CVE record

1Panel-dev KubePi

Affected: >= 1.6.3, < 1.8.0

References

1 link, grouped by NVD tag
↑ ↓ chooseEnter openEsc close