Incorrect Authorization
CVE-2022-31667
Summary
Harbor versions 1.0 through 1.10.12, 2.0 through 2.4.2 and 2.5 through 2.5.1 fails to validate the user permissions when updating a robot account that belongs to a project that the authenticated user doesn't have access. 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.
- LOW
- NETWORK
- LOW
- CHANGED
- NONE
- LOW
- NONE
- LOW
CWE-863 - Incorrect Authorization
Authorization is a security mechanism performed by an application to grant or deny access to the requested resources by verifying the privileges of the user. When an application lacks effective authorization mechanisms, it enables unauthorized users to gain unintended privileges and illegitimate access to resources. Such a vulnerability may result in exposure of sensitive information, denial of service, arbitrary code execution, and complete system takeover.
References
Advisory Timeline
- Published