CVE-2024-36111
JSON

6.3medium

KubePi's JWT token validation has a defect

Severity
6.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
8.39% (higher than 95% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
1Panel-dev KubePi>= 1.6.3, < 1.8.0CVE List
1panel_dev kubepifrom 1.6.3 before 1.8.0CVE List

Classification

CWE-1259

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

KubePi es un panel K8. A partir de la versión 1.6.3 y anteriores a la versión 1.8.0, existe un defecto en la verificación del token JWT de KubePi. La clave JWT en el archivo de configuración predeterminado está vacía. Aunque se generará una cadena aleatoria de 32 bits para sobrescribir la clave en el archivo de configuración cuando se detecta que la clave está vacía en la lógica de lectura del archivo de configuración, la clave está vacía durante la verificación real. El uso de una clave vacía para generar un token JWT puede omitir la verificación de inicio de sesión y tomar el control directamente del back-end. La versión 1.8.0 contiene un parche para este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-36111 changed 2024-08-02CVE Terms of Use
NVDCVE-2024-36111 changed 2026-06-17Public domain