CVE-2022-31667
Harbor Robot Account Privilege Escalation Remote Code Execution
Description
Harbor fails to validate the user permissions when updating a robot account that belongs to a project that the authenticated user doesn’t have access to. By sending a request that attempts to update a robot account, and specifying a robot account id and robot account name that belongs to a different project that the user doesn’t have access to, it was possible to revoke the robot account permissions.
INFO
Published Date :
Nov. 14, 2024, 12:15 p.m.
Last Modified :
Nov. 19, 2024, 3:25 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
3.1
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-31667
.
URL | Resource |
---|---|
https://github.com/goharbor/harbor/security/advisories/GHSA-xx9w-464f-7h6f | 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-31667
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-31667
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-xx9w-464f-7h6f Third Party Advisory https://github.com/goharbor/harbor/security/advisories/GHSA-xx9w-464f-7h6f 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:L/A:L Changed Reference Type https://github.com/goharbor/harbor/security/advisories/GHSA-xx9w-464f-7h6f No Types Assigned https://github.com/goharbor/harbor/security/advisories/GHSA-xx9w-464f-7h6f 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 a robot account that belongs to a project that the authenticated user doesn’t have access to. By sending a request that attempts to update a robot account, and specifying a robot account id and robot account name that belongs to a different project that the user doesn’t have access to, it was possible to revoke the robot account permissions. Added Reference VMware https://github.com/goharbor/harbor/security/advisories/GHSA-xx9w-464f-7h6f [No types assigned] Added CWE VMware CWE-285 Added CVSS V3.1 VMware AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
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-31667
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-31667
weaknesses.