GitLab 12.10.x < 14.6.5 / 14.7.x < 14.7.4 / 14.8.x < 14.8.2 Multiple Vulnerabilities

critical Nessus Plugin ID 158560

Synopsis

A source control application running on the remote web server is affected by multiple vulnerabilities.

Description

According to its self-reported version, the instance of GitLab running on the remote web server is prior to 12.10.x prior to 14.6.5, 14.7.x prior to 14.7.4, or 14.8.x prior to 14.8.2. It is, therefore, affected by the following vulnerabilities:

- An unauthorized user can steal runner registration tokens using an information disclosure vulnerability by using quick commands. (CVE-2022-0735)

- An unauthorized user can steal environment variables using specially crafted email addresses due to improper input validation in sendmail. (CVE-2022-0741)

- An unauthorized user can trick users into executing arbitrary commands due to inaccurate display of Snippet files with special characters. (CVE-2022-0751)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to GitLab version 14.6.5, 14.7.4, 14.8.2 or later.

See Also

http://www.nessus.org/u?35c16f9f

http://www.nessus.org/u?b85d5630

Plugin Details

Severity: Critical

ID: 158560

File Name: gitlab_14_8_2.nasl

Version: 1.7

Type: remote

Family: CGI abuses

Published: 3/3/2022

Updated: 10/11/2022

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-0735

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:gitlab:gitlab

Required KB Items: installed_sw/GitLab

Exploit Ease: No known exploits are available

Patch Publication Date: 2/25/2022

Vulnerability Publication Date: 2/25/2022

Reference Information

CVE: CVE-2022-0735, CVE-2022-0741, CVE-2022-0751

IAVA: 2022-A-0099-S