CVE-2022-32170
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".
如何修補 CVE-2022-32170
目前尚未發布修補版本。可考慮移除受影響套件,或參考下方連結中的上游建議。
- —未列出修補版本
CVE-2022-32170 正在被利用嗎?
低 — EPSS 為 0.2%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- >= 0.1.0, <= 1.0.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |