CVE-2022-31667
14.11.2024, 12:15
Harbor fails to validate the user permissions when updating a robot account thatbelongs to a project that the authenticated user doesnt have access to. By sending a request that attempts to update a robot account, and specifying a robotaccount id and robot account name that belongs to a different project that the userdoesnt have access to, it was possible to revoke the robot account permissions.Enginsight
Vendor | Product | Version |
---|---|---|
linuxfoundation | harbor | 2.0.0 ≤ 𝑥 < 2.4.3 |
linuxfoundation | harbor | 2.5.0 ≤ 𝑥 < 2.5.2 |
𝑥
= Vulnerable software versions
Common Weakness Enumeration
- CWE-285 - Improper AuthorizationThe software does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
- CWE-863 - Incorrect AuthorizationThe software performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.