GitLab 5.1 < 16.10.7 / 16.11 < 16.11.4 / 17.0 < 17.0.2 (CVE-2024-4201)

medium Nessus Plugin ID 200449

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:

- A cross-site scripting issue has been discovered in GitLab affecting all versions starting from 5.1 before 16.10.7, all versions starting from 16.11 before 16.111.4, all versions starting from 17.0 before 17.0.2.
When viewing an XML file in a repository in raw mode, it can be made to render as HTML if viewed under specific circumstances. (CVE-2024-4201)

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 16.10.7, 16.11.4, 17.0.2 or later.

See Also

http://www.nessus.org/u?236d9c8c

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

https://hackerone.com/reports/2473886

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

Plugin Details

Severity: Medium

ID: 200449

File Name: gitlab_cve-2024-4201.nasl

Version: 1.2

Type: combined

Agent: unix

Family: CGI abuses

Published: 6/12/2024

Updated: 6/14/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.6

CVSS v2

Risk Factor: Low

Base Score: 3.6

Temporal Score: 2.7

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

CVSS Score Source: CVE-2024-4201

CVSS v3

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.9

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

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: 6/12/2024

Vulnerability Publication Date: 6/12/2024

Reference Information

CVE: CVE-2024-4201

IAVA: 2024-A-0358