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.0: 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/E:P/U:Amber
CVE-ID: CVE-2022-1162
CWE-ID: CWE-798
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: GitLab, Inc
Affected software:
Gitlab Community Edition
GitLab Enterprise Edition

Detailed vulnerability description

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.


How to mitigate CVE-2022-1162

Install updates from vendor's website.

Sources