Description
AmoyLab Unla through 0.10.0 contains an authentication bypass vulnerability that allows unauthenticated attackers to obtain valid access tokens because the OAuth2 server never authenticates a resource owner. Attackers can register a client, request a code from /authorize, and exchange it at /token to access OAuth2-protected MCP prefixes, proxied upstream APIs and injected credentials.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
AmoyLab Unla
Default version status: unaffected
0 to ≤ 0.10.0affected
pkg:golang/github.com/amoylab/unlaReferences
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/amoylab-unla-oauth-self-issued-token-authz ↗
- https://github.com/AmoyLab/Unla/blob/v0.10.0/internal/auth/oauth.go#L86-L147 ↗
- https://github.com/AmoyLab/Unla/blob/v0.10.0/internal/core/server.go#L229-L261 ↗
- https://github.com/AmoyLab/Unla ↗
- https://www.vulncheck.com/advisories/amoylab-unla-through-0.10.0-oauth2-authentication-bypass-via-authorize ↗