CVE-2022-31666
published 2024-11-14CVE-2022-31666: Harbor fails to validate user permissions while deleting Webhook policies, allowing malicious users to view, update and delete Webhook policies of other users…
PriorityP430medium5.4CVSS 3.1
AVNACLPRLUINSUCLILAN
EPSS
0.49%
38.5th percentile
Harbor fails to validate user permissions while deleting Webhook policies, allowing malicious users to view, update and delete Webhook policies of other users. The attacker could modify Webhook policies configured in other projects.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | goharbor_harbor | >= 1.0.0 < 1.10.13 | 1.10.13 |
| github.com | goharbor_harbor | >= 2.0.0 < 2.4.3 | 2.4.3 |
| github.com | goharbor_harbor | >= 2.5.0 < 2.5.2 | 2.5.2 |
| linuxfoundation | harbor | — | — |
| linuxfoundation | harbor | >= 2.0.0 < 2.4.3 | 2.4.3 |
| linuxfoundation | harbor | >= 2.5.0 < 2.5.2 | 2.5.2 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Harbor fails to validate the user permissions when viewing Webhook policies
osv·2022-09-16
CVE-2022-31666 [HIGH] Harbor fails to validate the user permissions when viewing Webhook policies
Harbor fails to validate the user permissions when viewing Webhook policies
### Impact
Harbor fails to validate the user permissions to view Webhook policies including relevant credentials configured in different projects the user doesn’t have access to, resulting in malicious users being able to read Webhook policies of other users/projects. API call is
GET /projects/{project_name_or_id}/webhook/policies/{webhook_policy_id}
By sending the below request and specifying different Webhook policy ids in the last part of the URL, the malicious user may disclose Webhook policies related to other repositories/projects.: none;">
### Patches
This and similar issues are fixed in Harbor v2.5.2 and later. Please upgrade as soon as possible.
### Workarounds
There are no workarounds available.
###
GHSA
Harbor fails to validate the user permissions when viewing Webhook policies
ghsa·2022-09-16
CVE-2022-31666 [HIGH] CWE-285 Harbor fails to validate the user permissions when viewing Webhook policies
Harbor fails to validate the user permissions when viewing Webhook policies
### Impact
Harbor fails to validate the user permissions to view Webhook policies including relevant credentials configured in different projects the user doesn’t have access to, resulting in malicious users being able to read Webhook policies of other users/projects. API call is
GET /projects/{project_name_or_id}/webhook/policies/{webhook_policy_id}
By sending the below request and specifying different Webhook policy ids in the last part of the URL, the malicious user may disclose Webhook policies related to other repositories/projects.: none;">
### Patches
This and similar issues are fixed in Harbor v2.5.2 and later. Please upgrade as soon as possible.
### Workarounds
There are no workarounds available.
###
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-11-14
Published