Skip to content
CVE PROGRAM SOURCE RECORD9.3 Critical

CVE-2022-51026

Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login

Description

Bytebase 0.12.0 before 1.0.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to log in as any user. The flaw stems from trusting client-supplied GitLab provider configuration in the POST /api/auth/login/GITLAB_SELF_HOST endpoint. Attackers can set instanceUrl to a server they control that returns an active user with a chosen email. Bytebase then issues session tokens for that principal, letting attackers impersonate existing users including the Owner or create new members.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

bytebase bytebase

Default version status: unaffected

  • 0.12.0 to < 1.0.1affected
  • 1.0.1unaffected
pkg:golang/github.com/bytebase/bytebase

References