Description
AxonHub through 1.0.0-beta11 contains a privilege escalation vulnerability that allows project users to assign system-level scopes by creating service_account API keys with unvalidated scopes. Attackers holding write_api_keys can mint keys with read_channels and query /admin/graphql to read every channel's configuration, including base URLs and model lists.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| looplj | AxonHub | ≤ 1.0.0-beta11 | — |
References
- https://github.com/looplj/axonhub/commit/e5c904efbdabd80d74827dfae478330339c5a514 patch
- https://github.com/looplj/axonhub/pull/2741 patch issue-tracking
- https://github.com/looplj/axonhub/issues/2724 issue-tracking
- https://github.com/looplj/axonhub/blob/v1.0.0-beta11/internal/server/biz/api_key.go#L340 technical-description
- https://github.com/looplj/axonhub/blob/v1.0.0-beta11/internal/server/biz/api_key.go#L448 technical-description
- https://hackmd.io/@hieuPenguinnn/axonhub-apikey-scope-grant-privilege-escalation third-party-advisory
- https://github.com/looplj/axonhub product
- VulnCheck Advisory: AxonHub through 1.0.0-beta11 Privilege Escalation via Service Account API Key Scopes third-party-advisory