core/api/user.go in Harbor 1.7.0 through 1.8.2 allows non-admin users to create admin accounts via the POST /api/users API, when Harbor is setup with DB as authentication backend and allow user to do self-registration. Fixed version: v1.7.6 v1.8.3. v.1.9.0. Workaround without applying the fix: configure Harbor to use non-DB authentication backend such as LDAP.
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Harbor | Linuxfoundation | 1.7.0 (including) | 1.7.0 (including) |
Harbor | Linuxfoundation | 1.7.0-rc1 (including) | 1.7.0-rc1 (including) |
Harbor | Linuxfoundation | 1.7.0-rc2 (including) | 1.7.0-rc2 (including) |
Harbor | Linuxfoundation | 1.7.1 (including) | 1.7.1 (including) |
Harbor | Linuxfoundation | 1.7.2 (including) | 1.7.2 (including) |
Harbor | Linuxfoundation | 1.7.3 (including) | 1.7.3 (including) |
Harbor | Linuxfoundation | 1.7.4 (including) | 1.7.4 (including) |
Harbor | Linuxfoundation | 1.7.5 (including) | 1.7.5 (including) |
Harbor | Linuxfoundation | 1.8.0 (including) | 1.8.0 (including) |
Harbor | Linuxfoundation | 1.8.0-rc1 (including) | 1.8.0-rc1 (including) |
Harbor | Linuxfoundation | 1.8.0-rc2 (including) | 1.8.0-rc2 (including) |
Harbor | Linuxfoundation | 1.8.1 (including) | 1.8.1 (including) |
Harbor | Linuxfoundation | 1.8.2 (including) | 1.8.2 (including) |
Harbor | Linuxfoundation | 1.8.2-rc1 (including) | 1.8.2-rc1 (including) |
Harbor | Linuxfoundation | 1.8.2-rc2 (including) | 1.8.2-rc2 (including) |
Harbor | Linuxfoundation | 1.9.0-rc1 (including) | 1.9.0-rc1 (including) |
Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user’s privileges and any permissions or other access-control specifications that apply to the resource. When access control checks are not applied, users are able to access data or perform actions that they should not be allowed to perform. This can lead to a wide range of problems, including information exposures, denial of service, and arbitrary code execution.