Skip to content
MediumVulnerability

CVE-2022-31027: CILogonOAuthenticator accepts logins that bypass identity provider restriction

Identifier
CVE-2022-31027
Published
Record updated
View JSON
Affected
  • oauthenticator < 15.0.0
Fixed in
15.0.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CILogonOAuthenticator, provided by the OAuthenticator package for JupyterHub, authorizes users by checking only that the email domain from CILogon matches an entry in allowed_idps. It does not verify which identity provider the user logged in through, so a user with a GitHub account whose email ends in an allowed domain such as berkeley.edu gains the same access as an official institutional login. The patch changes allowed_idps from a list of domains to a list of IdP EntityIDs chosen from the CILogon IdP list, which is a breaking configuration change.

Mitigation

Upgrade OAuthenticator. The patch changes allowed_idps to a list of IdP EntityIDs picked from the list maintained by CILogon (https://cilogon.org/idplist/), replacing the previous list of domains.