Authentication Bypass in Bytebase by Bytebase
CVE-2022-51026
9.3CRITICAL
What is CVE-2022-51026?
A vulnerability in Bytebase versions prior to 1.0.1 allows unauthenticated attackers to access user accounts through the GitLab self-hosted login mechanism. The flaw arises from misconfigured trust in client-supplied GitLab settings within the login API, enabling attackers to exploit the instanceUrl parameter. By redirecting to a controlled server that responds with a valid user email, an attacker can acquire session tokens that facilitate impersonating any user, including administrative roles. This security gap underscores the necessity for stringent input validation and secure configuration practices.
Affected Version(s)
bytebase 0.12.0 < 1.0.1
bytebase 1.0.1
