CVE-2023-22463 in the critical feed json
KubePi's Hardcoded Jwtsigkeys allows malicious actor to login with a forged JWT token
published 2023-01-04 3 y ago modified 2026-09-10 1 mo ago also GHSA-vjhf-8vqx-vqpq , GO-2023-1283 , EUVD-2023-0560
- cvss
- 9.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 69.7%
- EPSS 69.7% chance of exploitation in 30 days, percentile 99.3%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
KubePi is a k8s panel. The jwt authentication function of KubePi through version 1.6.2 uses hard-coded Jwtsigkeys, resulting in the same Jwtsigkeys for all online projects. This means that an attacker can forge any jwt token to take over the administrator account of any online project. Furthermore, they may use the administrator to take over the k8s cluster of the target enterprise. `session.go`, the use of hard-coded JwtSigKey, allows an attacker to use this value to forge jwt tokens arbitrarily. The JwtSigKey is confidential and should not be hard-coded in the code. The vulnerability has been fixed in 1.6.3. In the patch, JWT key is specified in app.yml. If the user leaves it blank, a random key will be used. There are no workarounds aside from upgrading.
Patch / fix
- go github.com/KubeOperator/kubepi 1.6.3
- fit2cloud kubepi 1.6.3
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
69.67% chance of exploitation in the next 30 days, higher than 99.3% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template KubePi JwtSigKey - Admin Authentication Bypass nuclei detection template
- github.com https://github.com/KubeOperator/KubePi/security/advisories/GHSA-vjhf-8vqx-vqpq referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/KubeOperator/kubepi | <1.6.3 |
1.6.3 |
Affected products
- KubeOperator KubePi
Classification
- Weakness
-
- CWE-798 Use of Hard-coded Credentials
References
-
github.com
/KubeOperator/KubePi/commit/3be58b8df5bc05d2343c30371dd5fcf6a9fbbf8b
web, patch, third-party-advisory
-
github.com
/KubeOperator/KubePi/security/advisories/GHSA-vjhf-8vqx-vqpq
web, exploit, patch, third-party-advisory, advisory
-
github.com
/KubeOperator/KubePi/blob/da784f5532ea2495b92708cacb32703bff3a45a3/internal/api/v1/session/session.go#L35
web, third-party-advisory
-
github.com
/KubeOperator/KubePi/releases/tag/v1.6.3
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-22463
advisory
-
github.com
/KubeOperator/KubePi
package
Sources
- CVE List CVE-2023-22463
- GitHub Advisory GHSA-vjhf-8vqx-vqpq
- NVD CVE-2023-22463
- OSV GO-2023-1283
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.