GHSA-9mmc-27gw-w6mq

    Dashboard / Vulnerabilities / GHSA-9mmc-27gw-w6mq

    GHSA-9mmc-27gw-w6mq

    Published: 29 Sept 2022Last Modified: 21 May 2025

    Summary: Bytebase allows low-privilege users to view admin projects

    Details: ### Overview The "Bytebase" application does not restrict low privilege user from accessing admin projects ### Details The "Bytebase" application does not restrict low privilege user from accessing admin projects for which an unauthorized user can view the "projects" created by "Admin". The affected endpoint is `/api/project?user=${userId}`. ### PoC 1. Log in to the application as both "Admin" (`[email protected]:admin`) and Developer "User" (`[email protected]:user`) and then click on "Projects". 2. Now open "Burp suite" and turn "Intercept on" and from "admin" dashboard click on "projects" and see the "user id" of "admin" in the capture request. 3. Note the "user id" and "Forward" the request and again capture the request of "projects" from the "user" dashboard and change "user id" to "admin user id" and "Forward" the request. 4. Now "user" can see the "projects" created by "admin".

    Affected packages

    Package

    Name: github.com/bytebase/bytebase

    Purl: pkg:golang/github.com/bytebase/bytebase

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.1.0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-9mmc-27gw-w6mq | CVE-DB