SecurityContext

CVE-2022-1162: GitLab - Hardcoded Credentials

  • Cve: CVE-2022-1162
  • Name: GitLab - Hardcoded Credentials
  • 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
  • Impact: Attackers can potentially take over accounts registered via OmniAuth, leading to account compromise and unauthorized access.
  • Remediation: Update to versions 14.7.7, 14.8.5, 14.9.2 or later.
  • Vulnerability type: hardcoded_credentials
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.75637
  • Epss percentile: 0.99529
  • Assignee: [email protected]
  • Published at: 2022-04-04T20:15:09Z
  • Age in days: 1695
  • Modified at: 2026-06-17T04:21:55Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-1162
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-798Use of Hard-coded Credentials

Nuclei templates

IdUrl
CVE-2022-1162https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-1162.yaml

Hackerone

  • Reports: 3
  • Rank: 3240

Public exploits

UrlSourceAdded date
https://github.com/ipsBruno/CVE-2022-1162poc-in-github2022-11-09
https://github.com/Greenwolf/CVE-2022-1162poc-in-github2022-04-12

References

UrlSourceTags
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1162.jsonnvdVendor Advisory
http://packetstormsecurity.com/files/166828/Gitlab-14.9-Authentication-Bypass.htmlnvdThird Party Advisory, VDB Entry
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-1162.yamlnuclei_templateNuclei Template

Products

ProductAffectedPlatform boundSourcesUrl
gitlab:gitlab>= 14.9.0, < 14.9.2; >= 14.8.0, < 14.8.5; >= 14.7.0, < 14.7.7nonvd/v1/products/gitlab/gitlab

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-04-12
  • Remote: yes
  • Hackerone reports: 3
  • Exposed hosts: 66493
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, initial access since

Nuclei template