GitLab CE/EEで認証を回避され既存のLDAPアカウントを乗っ取られるおそれ
Summary
OmniAuth SAMLとLDAPの自動リンクが両方有効な環境で、認証済みの利用者が標的のユーザーの操作なしに既存のLDAP連携アカウントを乗っ取れる脆弱性です。影響を受けるのはGitLab CE/EEの10.1以降で19.3.6より前、19.4系は19.4.3より前、19.5系は19.5.1より前のバージョンです。修正版として19.5.1、19.4.3、19.3.6などが公開されているため、最新版へ更新してください。
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
OmniAuth SAMLとLDAPの自動リンクが両方有効な環境で、認証済みの利用者が標的のユーザーの操作なしに既存のLDAP連携アカウントを乗っ取れる脆弱性です。影響を受けるのはGitLab CE/EEの10.1以降で19.3.6より前、19.4系は19.4.3より前、19.5系は19.5.1より前のバージョンです。修正版として19.5.1、19.4.3、19.3.6などが公開されているため、最新版へ更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| GitLab | GitLab |
≥ 10.1, < 19.3.6 ≥ 19.4, < 19.4.3 ≥ 19.5, < 19.5.1 |
19.3.6 19.4.3 19.5.1 |
Original description The description as published by the source.
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 10.1 before 19.3.6, 19.4 before 19.4.3, and 19.5 before 19.5.1 that, when OmniAuth SAML and LDAP auto-linking were both enabled, an authenticated user could have taken over an existing LDAP-backed account without any interaction from the targeted user, due to improper input sanitization in the LDAP email lookup path used during OmniAuth identity linking.
Source: GitLab Security Releases NVD GitHub Advisory
References
- web cve@gitlab.com
- web gitlab.com
- web hackerone.com
- web nvd.nist.gov
- web docs.gitlab.com
- web github.com