Использование уязвимости HTTP Request With Sensitive Query String в командно-алембическом AshAuthenticationPhoenix позволяет кому-то, кто может читать журналы доступа, журналы прокси или историю браузера, восстановить одноразовый токен входа и аутентифицировать его как владельца. После успешного входа пароля, AshAuthentication.Phoenix.Components.Password.SignInForm строит путь sign_in_with_token со свежевыпущенным user.__metadata__.token в качестве параметра запроса и перенаправляет браузер на него с помощью GET. Таким образом, токен перемещается в строке запроса, где веб-серверы, обратные прокси-серверы, телеметрия запроса и собственная история браузера записывают его, все из которых переживают запрос и обычно менее защищены, чем хранилище сеанса.
Назначение перенаправления ограничено локальным путем, поэтому это не открытое перенаправление; экспозиция - это сохранение живых учетных данных. Эта проблема затрагивает ash_authentication_phoenix: от 1.7.0 до 2.17.4 и от 3.0.0-rc.0 до 3.0.0-rc.11; ash_authentication: от 3.10.5 до 4.15.0 и от 5.0.0-rc.0 до 5.0.0-rc.14.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v4.0
Тип уязвимости (CWE)
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Team-Alembic Ash_Authentication_Phoenix
cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*
|
1.7.0
|
2.17.4
|
|
Team-Alembic Ash_Authentication_Phoenix
cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*
|
3.0.0-rc.0
|
3.0.0-rc.11
|
|
Team-Alembic Ash_Authentication
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*
|
3.10.5
|
4.15.0
|
|
Team-Alembic Ash_Authentication
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*
|
5.0.0-rc.0
|
5.0.0-rc.14
|