Skip to main content
← All vulnerabilities
CVE-2024-36111

KubePi's JWT token validation has a defect

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.8.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • 1Panel-dev KubePi

    From 1.6.3 · fixed in 1.8.0

References 1

GitHub · 1Panel-dev/KubePi