CVE-2022-51026 Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login
CriticalCVSS 9.3
EPSS 0.61%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| bytebase github.com/bytebase/bytebase | >= 0.12.0, < 1.0.1 | 1.0.1 | Fixed |
| bytebase github.com/bytebase/bytebase(Go) | < 1.0.1; <= 1.0.0 | 1.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| bytebase github.com/bytebase/bytebase(Go) | < 1.0.1 | 1.0.1 |
| bytebase github.com/bytebase/bytebase(Go) | <= 1.0.0 | No fix listed |
| bytebase github.com/bytebase/bytebase | >= 0.12.0, < 1.0.1 | 1.0.1 |
References
- GitHub Security Advisory (GHSA-5r3p-6rj5-7937) vendor-advisory
- github.com patch
- github.com product
- github.com
- github.com patch
- github.com issue-tracking patch
- github.com technical-description
- bytebase 1.0.1 Release Notes release-notes
- VulnCheck Advisory: Bytebase 0.12.0 before 1.0.1 Authentication Bypass via GitLab Self-Hosted Login third-party-advisory
- ENISA EUVD EUVD-2022-56076 third-party-advisory