Description
A hardcoded password was set for accounts registered using an OmniAuth provider (e.g. OAuth, LDAP, SAML) in GitLab CE/EE versions 14.7 prior to 14.7.7, 14.8 prior to 14.8.5, and 14.9 prior to 14.9.2 allowing attackers to potentially take over accounts
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GitLab | GitLab | >=14.9, <14.9.2, >=14.8, <14.8.5, >=14.7, <14.7.7 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | gitlab | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Gitlab 14.9 - Authentication Bypass EDB-50888 · webapps · Apr 26, 2022
GitHub 2 repositories
-
Greenwolf/CVE-2022-1162 ★ 4 · Apr 12, 2022
-
ipsBruno/CVE-2022-1162 ★ 2 · Nov 9, 2022
A simple tool to enumerate users in gitlab
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- GitLab CE/EE - Hard-Coded Credentials http/cves/2022/CVE-2022-1162.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.