Pocket ID: OAuth redirect_uri validation bypass via userinfo/host confusion
pocket-id
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/pocket-id/pocket-id/backend Go |
|
|
Original description
Pocket ID is an OIDC provider that allows users to authenticate with their passkeys to your services. From 2.0.0 to before 2.4.0, a flaw in callback URL validation allowed crafted redirect_uri values containing URL userinfo (@) to bypass legitimate callback pattern checks. If an attacker can trick a user into opening a malicious authorization link, the authorization code may be redirected to an attacker-controlled host. This vulnerability is fixed in 2.4.0.
From the CVE record · GitHub_M