Auth bypass in Linuxfoundation Harbor
CVE-2022-31667
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L.
EPSS exploit prediction
EPSS 0.005, 44.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linuxfoundation Harbor
- Harbor — versions Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (akenofu/DevSecOps-Scripts). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/goharbor/harbor/security/advisories/GHSA-xx9w-464f-7h6f (Vendor Advisory)