cve/2023/CVE-2023-22463.md

26 lines
1.6 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-22463](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-22463)
![](https://img.shields.io/static/v1?label=Product&message=KubePi&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%201.6.3%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-798%3A%20Use%20of%20Hard-coded%20Credentials&color=brighgreen)
### Description
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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/20142995/pocsuite3
- https://github.com/DarkFunct/CVE_Exploits
- https://github.com/Threekiii/Awesome-POC
2024-07-25 21:25:12 +00:00
- https://github.com/TrojanAZhen/Self_Back
2024-05-25 21:48:12 +02:00
- https://github.com/d4n-sec/d4n-sec.github.io
- https://github.com/ggjkjk/1444
- https://github.com/ibaiw/2023Hvv
- https://github.com/luck-ying/Library-POC
- https://github.com/passwa11/2023Hvv_