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

Enabling MFA only invalidates one session #643

Open
t-aleksander opened this issue Jun 14, 2024 · 0 comments
Open

Enabling MFA only invalidates one session #643

t-aleksander opened this issue Jun 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@t-aleksander
Copy link
Contributor

Describe the bug
Enabling MFA invalidates current session to force the user to login again, this time with his MFA of choice. If the user has other active sessions those sessions will still remain active. This is problematic, as it's possible to disable previously enabled MFA from those sessions (or do anything that a logged in user can do, at least until the session expires) without the need to provide otherwise required one time password/keys/wallets etc.

To Reproduce
Steps to reproduce the behavior:

  1. Have at least 2 sessions active
  2. Enable MFA on one of the sessions, this session will be invalidated afterwards
  3. Observe that the second session is still active

Expected behavior
Enabling MFA should invalidate all sessions of a user.

@t-aleksander t-aleksander added the bug Something isn't working label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Refined & Ready
Development

No branches or pull requests

1 participant