Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS05bW1jLTI3Z3ctdzZtcc4AAvHC

Bytebase allows low-privilege users to view admin projects

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".
Permalink: https://github.com/advisories/GHSA-9mmc-27gw-w6mq
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05bW1jLTI3Z3ctdzZtcc4AAvHC
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: 12 days ago


CVSS Score: 4.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Identifiers: GHSA-9mmc-27gw-w6mq, CVE-2022-32170
References: Repository: https://github.com/bytebase/bytebase
Blast Radius: 0.0

Affected Packages

go:github.com/bytebase/bytebase
Dependent packages: 0
Dependent repositories: 1
Downloads:
Affected Version Ranges: >= 0.1.0, <= 1.0.4
No known fixed version
All affected versions: 1.0.0, 1.0.1, 1.0.2