GitHub Advisoryadvisory · Go
GHSA-757p-vx43-fp9r KubePi Privilege Escalation vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2023-37917
- Ecosystem
- Go
- Packages
- github.com/KubeOperator/kubepi
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L
- Weaknesses
- CWE-269
- Reviewed
- 2023-07-21
Affected packages
• Go github.com/KubeOperator/kubepi: < 1.6.5 → fixed in 1.6.5
Description
Summary
A normal user has permission to create/update users, they can become admin by editing the `isadmin` value in the request
PoC
Change the value of the `isadmin` field in the request to true:
https://drive.google.com/file/d/1e8XJbIFIDXaFiL-dqn0a0b6u7o3CwqSG/preview
Impact
Elevate user privileges
Related
Alias · CVE (1)
- CVE-2023-37917 KubePi is an opensource kubernetes management panel. vulnerability
Weakness · CWE (1)
- CWE-269 Improper Privilege Management weakness
References
- https://github.com/1Panel-dev/KubePi/security/advisories/GHSA-757p-vx43-fp9r web
- https://nvd.nist.gov/vuln/detail/CVE-2023-37917 advisory
- https://drive.google.com/file/d/1e8XJbIFIDXaFiL-dqn0a0b6u7o3CwqSG/preview web
- https://github.com/1Panel-dev/KubePi package
- https://github.com/1Panel-dev/KubePi/releases/tag/v1.6.5 web