github.com/KubeOperator/kubepi
Affected
- introduced
0, fixed1.6.5(semver)
Fixed versions
1.6.5
Fix
- Fixed version
1.6.5go get github.com/KubeOperator/[email protected]
Advisory
Also known as: CVE-2023-37917, GO-2023-1956
KubePi Privilege Escalation vulnerability
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
Critical Basis: The source's own band: CRITICAL
0, fixed 1.6.5 (semver)1.6.5
1.6.5go get github.com/KubeOperator/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0