Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-9mmc-27gw-w6mq

Опубликовано: 29 сент. 2022
Источник: github
Github: Прошло ревью
CVSS3: 4.3

Описание

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" (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".

Пакеты

Наименование

github.com/bytebase/bytebase

go
Затронутые версииВерсия исправления

>= 0.1.0, <= 1.0.4

Отсутствует

EPSS

Процентиль: 39%
0.00172
Низкий

4.3 Medium

CVSS3

Дефекты

CWE-285

Связанные уязвимости

CVSS3: 4.3
nvd
больше 3 лет назад

The “Bytebase” application does not restrict low privilege user to access admin “projects“ for which an unauthorized user can view the “projects“ created by “Admin” and the affected endpoint is “/api/project?user=${userId}”.

EPSS

Процентиль: 39%
0.00172
Низкий

4.3 Medium

CVSS3

Дефекты

CWE-285