Hanko before 3.2.0 Account Takeover via SAML Redirect Allowlist Bypass
teamhanko hanko
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| teamhanko hanko |
| No fix yet |
Original description
Hanko before 3.2.0 contains an open redirect vulnerability in Saml.IsAllowedRedirect that allows unauthenticated attackers to bypass the redirect allowlist by appending attacker-controlled domain suffixes to allowed hostnames. Attackers can lure victims through a crafted /saml/auth login link to capture the one-time hanko_token and redeem it without PKCE to hijack the victim's session.
From the CVE record · VulnCheck