7.7
HIGH
CVE-2022-31668
Harbor P2P Preheat Policy Permission Bypass Vulnerability
Description

Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.

INFO

Published Date :

Nov. 14, 2024, 12:15 p.m.

Last Modified :

Nov. 19, 2024, 3:25 p.m.

Remotely Exploitable :

Yes !

Impact Score :

4.0

Exploitability Score :

3.1
Affected Products

The following products are affected by CVE-2022-31668 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 Linuxfoundation harbor
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-2022-31668.

URL Resource
https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7 Vendor Advisory

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-2022-31668 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-31668 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.

  • Reanalysis by [email protected]

    Nov. 19, 2024

    Action Type Old Value New Value
    Changed Reference Type https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7 Third Party Advisory https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7 Vendor Advisory
  • Initial Analysis by [email protected]

    Nov. 19, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
    Changed Reference Type https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7 No Types Assigned https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7 Third Party Advisory
    Added CWE NIST CWE-863
    Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.4.3 *cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:* versions from (including) 2.5.0 up to (excluding) 2.5.2
  • CVE Received by [email protected]

    Nov. 14, 2024

    Action Type Old Value New Value
    Added Description Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.
    Added Reference VMware https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7 [No types assigned]
    Added CWE VMware CWE-285
    Added CVSS V3.1 VMware AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
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-2022-31668 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-31668 weaknesses.

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