Use of hard-coded credentials in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2022-1162

 

Use of hard-coded credentials in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2022-1162

Published: April 1, 2022 / Updated: November 10, 2022


Vulnerability identifier: #VU61775
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-1162
CWE-ID: CWE-798
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to gain full access to vulnerable system.

The vulnerability exists due to presence of hard-coded credentials in application code within the OmniAuth-based registration. A remote unauthenticated attacker can access the affected system using the hard-coded credentials.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Gitlab Community Edition
GitLab Enterprise Edition

How to mitigate CVE-2022-1162

Install updates from vendor's website.

Gitlab Community Edition - addressed in versions 14.7.7, 14.8.5, 14.9.2
GitLab Enterprise Edition - addressed in versions 14.7.7, 14.8.5, 14.9.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins