Summary
An authentication bypass vulnerability in oauthenticator allows an attacker with an unverified email address on an Auth0 tenant to login to JupyterHub. When email is used as the usrname_claim, this gives users control over their username and the possibility of account takeover.
Impact
This is an Authentication Bypass Vulnerability. Any Auth0 tenant leveraging the Auth0OAuthenticator mapping the email claim to the JupyterHub username is impacted. By default, Auth0 handles email verification as a user flag, not a hard block to authentication streams. If an attacker can register an account with the Auth0 tenant with an unverified email and knows the email of an existing user on the system, they can authenticate as that user.
Patches
- Upgrade oauthenticator to 17.4
Workarounds
Summary
An authentication bypass vulnerability in
oauthenticatorallows an attacker with an unverified email address on an Auth0 tenant to login to JupyterHub. Whenemailis used as the usrname_claim, this gives users control over their username and the possibility of account takeover.Impact
This is an Authentication Bypass Vulnerability. Any Auth0 tenant leveraging the
Auth0OAuthenticatormapping theemailclaim to the JupyterHub username is impacted. By default, Auth0 handles email verification as a user flag, not a hard block to authentication streams. If an attacker can register an account with the Auth0 tenant with an unverified email and knows the email of an existing user on the system, they can authenticate as that user.Patches
Workarounds
email_verifiedfield in anAuthenticator.post_auth_hookfunctionemailas the username claim