Single-use sign-in token placed in a redirect query string in AshAuthenticationPhoenix
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in *, 2.17.4, 3.0.0-rc.11 and 2 more.
Use of HTTP Request With Sensitive Query String vulnerability in team-alembic AshAuthenticationPhoenix allows someone able to read access logs, proxy logs or browser history to recover a single-use sign-in token and authenticate as its owner. After a successful password sign-in, AshAuthentication.Phoenix.Components.Password.SignInForm builds the sign_in_with_token path with the freshly issued user.__metadata__.token as a query parameter and redirects the browser to it with a GET. The token therefore travels in the request line, where web servers, reverse proxies, request telemetry and the browser's own history record it, all of which outlive the request and are ordinarily less protected than session storage. The redirect destination is restricted to a local path, so this is not an open redirect; the exposure is the retention of a live credential. This issue affects ash_authentication: from 3.10.5 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14; ash_authentication_phoenix: from 1.7.0 before 2.17.4 and from 3.0.0-rc.0 before 3.0.0-rc.11.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| team-alembic | =903f3a386e1aba2f7b070187ef6f31215a92bdfd, >=1.7.0 <2.17.4, >=3.0.0-rc.0 <3.0.0-rc.11, =eca8cadea0f1595ed2c10a0c177b1da9aa9e5269, >=3.10.5 <4.15.0, >=5.0.0-rc.0 <5.0.0-rc.14 | *, 2.17.4, 3.0.0-rc.11, 4.15.0, 5.0.0-rc.14 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket