SB2022040106 - Multiple vulnerabilities in GitLab Community Edition (CE) and Enterprise Edition (EE) 



SB2022040106 - Multiple vulnerabilities in GitLab Community Edition (CE) and Enterprise Edition (EE)

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

Security Bulletin ID SB2022040106
Severity
High
Patch available
YES
Number of vulnerabilities 17
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

High 6% Medium 24% Low 71%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 17 secuirty vulnerabilities.


1) Use of hard-coded credentials (CVE-ID: CVE-2022-1162)

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.


2) Input validation error (CVE-ID: CVE-2022-1185)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote user can send a specially crafted RDoc file and perform a denial of service (DoS) attack.


3) Stored cross-site scripting (CVE-ID: CVE-2022-1190)

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data on Multi-word milestone reference. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


4) Information disclosure (CVE-ID: CVE-2022-1120)

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to missing filtering in an error message. A remote user can gain unauthorized access to sensitive information when an include directive fails in the CI/CD configuration.


5) Input validation error (CVE-ID: CVE-2022-1100)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input in release asset link. A remote user can pass specially crafted input to the application and perform a denial of service (DoS) attack.


6) Improper access control (CVE-ID: CVE-2022-1193)

The vulnerability allows a remote attacker to gain unauthorized access to sensitive information.

The vulnerability exists due to improper access restrictions. A remote user can obtain details of the latest commit in a private project via Merge Requests.


7) Improper access control (CVE-ID: CVE-2022-1105)

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to improper access restrictions. A remote user can bypass implemented security restrictions and access pipeline analytics even when public pipelines are disabled.


8) Input validation error (CVE-ID: CVE-2022-1099)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to absence of limit for the number of tags that can be added to a runner. A remote user can pass specially crafted input to the application and perform a denial of service (DoS) attack.


9) Input validation error (CVE-ID: CVE-2022-1174)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input in Issues, Merge requests, Milestones, Snippets, Wiki pages, etc. A remote user can pass specially crafted input to the application and perform a denial of service (DoS) attack.


10) Server-Side Request Forgery (SSRF) (CVE-ID: CVE-2022-1188)

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input in the repository mirroring feature. A remote attacker can send a specially crafted HTTP request and trick the application to initiate requests to arbitrary systems.

Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.


11) Improper Authorization (CVE-ID: CVE-2022-0740)

The vulnerability allows a remote attacker to bypass authorization checks.

The vulnerability exists due to incorrect authorization in the Asana integration's branch restriction feature. A remote user can close Asana tasks from unrestricted branches.


12) Information disclosure (CVE-ID: CVE-2022-1189)

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to excessive data output by the application. A remote user can read the the approval rules of a private project.


13) Information disclosure (CVE-ID: CVE-2022-1157)

The vulnerability allows a remote user to gain access to potentially sensitive information.

The vulnerability exists due to missing sanitization of logged exception messages. A remote administrator can gain unauthorized access to sensitive information on the system.


14) Business Logic Errors (CVE-ID: CVE-2022-1111)

The vulnerability allows a remote user to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to a business logic error in Project Import. A remote administrator can cause imported projects to show an incorrect user in the "Access Granted" column in the project membership pages.


15) Improper Authorization (CVE-ID: CVE-2022-1148)

The vulnerability allows a remote attacker to bypass authorization checks.

The vulnerability exists due to incorrect authorization in GitLab Pages. A remote attacker can steal a user's access token on an attacker-controlled private GitLab Pages website.


16) Input validation error (CVE-ID: CVE-2022-1121)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a lack of appropriate timeouts in GitLab Pages. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.


17) Stored cross-site scripting (CVE-ID: CVE-2022-1175)

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data in notes. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Remediation

Install update from vendor's website.