Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS03NTdwLXZ4NDMtZnA5cs4AA01i
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
Permalink: https://github.com/advisories/GHSA-757p-vx43-fp9rJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03NTdwLXZ4NDMtZnA5cs4AA01i
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: 9 months ago
Updated: 6 months ago
CVSS Score: 9.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L
Identifiers: GHSA-757p-vx43-fp9r, CVE-2023-37917
References:
- https://github.com/1Panel-dev/KubePi/security/advisories/GHSA-757p-vx43-fp9r
- https://drive.google.com/file/d/1e8XJbIFIDXaFiL-dqn0a0b6u7o3CwqSG/preview
- https://github.com/1Panel-dev/KubePi/releases/tag/v1.6.5
- https://nvd.nist.gov/vuln/detail/CVE-2023-37917
- https://github.com/advisories/GHSA-757p-vx43-fp9r
Blast Radius: 1.0
Affected Packages
go:github.com/KubeOperator/kubepi
Dependent packages: 0Dependent repositories: 0
Downloads:
Affected Version Ranges: < 1.6.5
Fixed in: 1.6.5
All affected versions: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4
All unaffected versions: 1.6.5, 1.7.0