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

The plugin does not check whether the email is verified or not #46

Open
nalp opened this issue May 10, 2024 · 0 comments
Open

The plugin does not check whether the email is verified or not #46

nalp opened this issue May 10, 2024 · 0 comments

Comments

@nalp
Copy link

nalp commented May 10, 2024

It seems possible to get an access to another user's account because the plugin doesn't check verified flag provided by Discord. The procedure is as follows

  • Keycloak instance is installed, keycloak-discord plugin is added, the "Trust Email" option is off;
  • a user with known email already exists with and email is verified;
  • someone creates a new Discord account with the unverified email of the user mentioned above and uses it to log in to Keycloak;
  • the plugin trusts the email provided by Discord and merges the Discord login with the existing user;
  • the malicious person is authenticated as the user.

Can you verify the information above please?

@nalp nalp changed the title The plugin doesn't check if email is verified or not The plugin does not check whether the email is verified or not May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant