Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin UI can be accessed with the Authorization Bearer Jwt Token even after Logoff #21783

Open
sug-ghosh opened this issue May 1, 2024 · 1 comment · May be fixed by #21998
Open

Admin UI can be accessed with the Authorization Bearer Jwt Token even after Logoff #21783

sug-ghosh opened this issue May 1, 2024 · 1 comment · May be fixed by #21998
Assignees

Comments

@sug-ghosh
Copy link

sug-ghosh commented May 1, 2024

When a user logged off from the UI, a malicious user can send request with the existing cookie of the user. The admin UI still authenticate as a valid user.
Mainly in endpoint, http://trino-host:8080/ui/api/query , http://trino-host:8080/ui/api/cluster , http://trino-host:8080/ui/api/stats the malicious user can see the query details.
Even thought jwt Token is bind with Cookie and the the token Expiry time can be set as short-lived token. Still if an user logged off before that, it still an issue as malicious user can see the query details by hitting http://trino-host:8080/ui/api/query .

@sug-ghosh sug-ghosh self-assigned this May 1, 2024
@findepi
Copy link
Member

findepi commented May 10, 2024

cc @dain @lukasz-walkiewicz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants