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



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

Published: May 3, 2023

Security Bulletin ID SB2023050318
Severity
Medium
Patch available
YES
Number of vulnerabilities 8
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 63% Low 38%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 8 secuirty vulnerabilities.


1) Permissions, Privileges, and Access Controls (CVE-ID: CVE-2023-2182)

The vulnerability allows a remote user to escalate privileges on the system.

The vulnerability exists due to application does not properly impose security restrictions when OpenID Connect is enabled, which leads to security restrictions bypass and privilege escalation.


2) Open redirect (CVE-ID: CVE-2023-1965)

The vulnerability allows a remote attacker to redirect victims to arbitrary URL.

The vulnerability exists due to improper sanitization of user-supplied data in the RelayState parameter. A remote attacker can create a link that leads to a trusted website, however, when clicked, redirects the victim to arbitrary domain.

Successful exploitation of this vulnerability may allow a remote attacker to perform a phishing attack and steal potentially sensitive information.


3) Improper access control (CVE-ID: CVE-2023-1621)

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 continue to commit to projects even from a restricted IP address.


4) Input validation error (CVE-ID: CVE-2023-1178)

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to the Gitlab web interface does not guarantee file integrity when downloading source code or installation packages from a tag or from a release. A remote user can compromise file integrity on the system.


5) Improper access control (CVE-ID: CVE-2023-0805)

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

The vulnerability exists due to improper access restrictions. A remote administrator can continue to have access to the public projects of a public group even after being banned from the public group by the owner.


6) Improper access control (CVE-ID: CVE-2023-0756)

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 use the main branch of a repository with a specially designed name create repositories with malicious code.


7) Cross-site scripting (CVE-ID: CVE-2023-1836)

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 when viewing raw files on iOS devices. A remote user can trick the victim to follow a specially crafted link 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.


8) Information disclosure (CVE-ID: CVE-2022-4376)

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 map a private email of a GitLab user to their GitLab account on an instance.


Remediation

Install update from vendor's website.