6.7
MEDIUM
CVE-2023-6840
GitLab EE Branch Name Changing Vulnerability (Authorization Bypass)
Description

An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.

INFO

Published Date :

Feb. 7, 2024, 10:15 p.m.

Last Modified :

March 4, 2024, 8:52 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.5

Exploitability Score :

1.2
Affected Products

The following products are affected by CVE-2023-6840 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-2023-6840.

URL Resource
https://gitlab.com/gitlab-org/gitlab/-/issues/435500 Issue Tracking Permissions Required
https://hackerone.com/reports/2280292 Permissions Required Technical Description

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).

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

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

The following table lists the changes that have been made to the CVE-2023-6840 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 [email protected]

    May. 14, 2024

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

    Mar. 04, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H
    Changed Reference Type https://gitlab.com/gitlab-org/gitlab/-/issues/435500 No Types Assigned https://gitlab.com/gitlab-org/gitlab/-/issues/435500 Issue Tracking, Permissions Required
    Changed Reference Type https://hackerone.com/reports/2280292 No Types Assigned https://hackerone.com/reports/2280292 Permissions Required, Technical Description
    Added CWE NIST NVD-CWE-Other
    Added CPE Configuration OR *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 16.4.0 up to (excluding) 16.6.7 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 16.7.0 up to (excluding) 16.7.5 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 16.8.0 up to (excluding) 16.8.2
  • CVE Received by [email protected]

    Feb. 07, 2024

    Action Type Old Value New Value
    Added Description An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.
    Added Reference GitLab Inc. https://gitlab.com/gitlab-org/gitlab/-/issues/435500 [No types assigned]
    Added Reference GitLab Inc. https://hackerone.com/reports/2280292 [No types assigned]
    Added CWE GitLab Inc. CWE-284
    Added CVSS V3.1 GitLab Inc. AV:N/AC:L/PR:H/UI:N/S:U/C:L/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-2023-6840 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.04 }} 0.00%

score

0.12625

percentile

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