GitLab < 15.9.6 (CVE-2023-0756)

high Nessus Plugin ID 174988

Synopsis

The version of GitLab installed on the remote host is affected by a vulnerability.

Description

The version of GitLab installed on the remote host is affected by a vulnerability, as follows:

- An issue has been discovered in GitLab affecting all versions before 15.9.6, all versions starting from 15.10 before 15.10.5, all versions starting from 15.11 before 15.11.1. The main branch of a repository with a specially crafted name allows an attacker to create repositories with malicious code, victims who clone or download these repositories will execute arbitrary code on their systems. (CVE-2023-0756)

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 15.9.6 or later.

See Also

http://www.nessus.org/u?39c4c3be

https://gitlab.com/gitlab-org/gitlab/-/issues/390910

https://hackerone.com/reports/1864278

Plugin Details

Severity: High

ID: 174988

File Name: gitlab_cve-2023-0756.nasl

Version: 1.7

Type: combined

Agent: unix

Family: CGI abuses

Published: 5/2/2023

Updated: 5/17/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS Score Source: CVE-2023-0756

CVSS v3

Risk Factor: High

Base Score: 8

Temporal Score: 7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/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: 5/2/2023

Vulnerability Publication Date: 5/2/2023

Reference Information

CVE: CVE-2023-0756

IAVA: 2023-A-0235-S