Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/bytebase/bytebase
  4. ›
  5. CVE-2022-32170

CVE-2022-32170: Bytebase allows low-privilege users to view admin projects

September 29, 2022 (updated May 21, 2025)

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” (admin@example.com:admin) and Developer “User” (user@admin.com: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”.

References

  • github.com/advisories/GHSA-9mmc-27gw-w6mq
  • github.com/bytebase/bytebase
  • github.com/bytebase/bytebase/blob/1.0.4/frontend/src/store/modules/project.ts
  • nvd.nist.gov/vuln/detail/CVE-2022-32170
  • www.mend.io/vulnerability-database/CVE-2022-32170

Code Behaviors & Features

Detect and mitigate CVE-2022-32170 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.1.0 up to 1.0.4

Solution

Unfortunately, there is no solution available yet.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

go/github.com/bytebase/bytebase/CVE-2022-32170.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 07 Dec 2025 12:19:39 +0000.