9.9
CRITICAL
CVE-2024-0402
GitLab Workspace File Write Vulnerability
Description

An issue has been discovered in GitLab CE/EE affecting all versions from 16.0 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 which allows an authenticated user to write files to arbitrary locations on the GitLab server while creating a workspace.

INFO

Published Date :

Jan. 26, 2024, 1:15 a.m.

Last Modified :

Nov. 21, 2024, 8:46 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

3.1
Public PoC/Exploit Available at Github

CVE-2024-0402 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-0402 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gitlab gitlab
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-0402.

URL Resource
https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/ Vendor Advisory
https://gitlab.com/gitlab-org/gitlab/-/issues/437819 Broken Link
https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/ Vendor Advisory
https://gitlab.com/gitlab-org/gitlab/-/issues/437819 Broken Link

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Search for CVEs in the NISt database via command line

Python

Updated: 9 months, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : Feb. 22, 2024, 9:31 p.m. This repo has been linked 10 different CVEs too.

CVE-2024-0402 Gitlab arbitrary file write/RCE

Updated: 9 months, 4 weeks ago
2 stars 0 fork 0 watcher
Born at : Jan. 31, 2024, 8:14 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-0402 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-0402 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/
    Added Reference https://gitlab.com/gitlab-org/gitlab/-/issues/437819
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jan. 31, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    Changed Reference Type https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/ No Types Assigned https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/ Vendor Advisory
    Changed Reference Type https://gitlab.com/gitlab-org/gitlab/-/issues/437819 No Types Assigned https://gitlab.com/gitlab-org/gitlab/-/issues/437819 Broken Link
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 16.0.0 up to (excluding) 16.5.8 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 16.0.0 up to (excluding) 16.5.8 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 16.6.0 up to (excluding) 16.6.6 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 16.6.0 up to (excluding) 16.6.6 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 16.7.0 up to (excluding) 16.7.4 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 16.7.0 up to (excluding) 16.7.4 *cpe:2.3:a:gitlab:gitlab:16.8.0:*:*:*:community:*:*:* *cpe:2.3:a:gitlab:gitlab:16.8.0:*:*:*:enterprise:*:*:*
  • CVE Received by [email protected]

    Jan. 26, 2024

    Action Type Old Value New Value
    Added Description An issue has been discovered in GitLab CE/EE affecting all versions from 16.0 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 which allows an authenticated user to write files to arbitrary locations on the GitLab server while creating a workspace.
    Added Reference GitLab Inc. https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/ [No types assigned]
    Added Reference GitLab Inc. https://gitlab.com/gitlab-org/gitlab/-/issues/437819 [No types assigned]
    Added CWE GitLab Inc. CWE-22
    Added CVSS V3.1 GitLab Inc. AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-0402 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} 0.00%

score

0.31859

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability