GHSA-757p-vx43-fp9r

Suggest an improvement
Source
https://github.com/advisories/GHSA-757p-vx43-fp9r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-757p-vx43-fp9r/GHSA-757p-vx43-fp9r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-757p-vx43-fp9r
Aliases
Related
Published
2023-07-21T20:18:00Z
Modified
2024-08-20T20:58:40.795831Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L CVSS Calculator
Summary
KubePi Privilege Escalation vulnerability
Details

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

Database specific
{
    "nvd_published_at": "2023-07-21T21:15:11Z",
    "cwe_ids": [
        "CWE-269"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-21T20:18:00Z"
}
References

Affected packages

Go / github.com/KubeOperator/kubepi

Package

Name
github.com/KubeOperator/kubepi
View open source insights on deps.dev
Purl
pkg:golang/github.com/KubeOperator/kubepi

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.5