CVE-2022-32170: bytebase - Improper Authorization
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".
Other sources
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}”.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2022-32170?
The severity of CVE-2022-32170 is classified as medium due to improper authorization issues.
How do I fix CVE-2022-32170?
To mitigate CVE-2022-32170, ensure that proper access controls are implemented to restrict low privilege users from accessing admin projects.
Which versions of Bytebase are affected by CVE-2022-32170?
CVE-2022-32170 affects Bytebase versions from 0.1.0 to 1.0.4 inclusive.
What is the impact of CVE-2022-32170?
The impact of CVE-2022-32170 allows unauthorized users to access admin project data, potentially compromising sensitive information.
Is there a patch available for CVE-2022-32170?
Yes, updating to a version beyond 1.0.4 will address the vulnerabilities described in CVE-2022-32170.