Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-31027— Authorization Bypass Through User-Controlled Key when using CILogonOAuthenticator in oauthenticator

Quick assessment

Affected
jupyterhub oauthenticator
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OAuthenticator是JupyerHub 登录处理程序的 OAuth 令牌库。 OAuthenticator 14.2.0 及之前版本存在安全漏洞,该漏洞源于CILogon 是一个联合身份验证提供程序,它允许用户通过多个身份提供程序 (IdP) 进行身份验证。

CVSS 4.2 · Medium EPSS 0.46% · P37
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-31027

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Authorization Bypass Through User-Controlled Key when using CILogonOAuthenticator in oauthenticator
Source: CVE Program / CVE List V5
Vulnerability Description
OAuthenticator is an OAuth token library for the JupyerHub login handler. CILogonOAuthenticator is provided by the OAuthenticator package, and lets users log in to a JupyterHub via CILogon. This is primarily used to restrict a JupyterHub only to users of a given institute. The allowed_idps configuration trait of CILogonOAuthenticator is documented to be a list of domains that indicate the institutions whose users are authorized to access this JupyterHub. This authorization is validated by ensuring that the *email* field provided to us by CILogon has a *domain* that matches one of the domains listed in `allowed_idps`.If `allowed_idps` contains `berkeley.edu`, you might expect only users with valid current credentials provided by University of California, Berkeley to be able to access the JupyterHub. However, CILogonOAuthenticator does *not* verify which provider is used by the user to login, only the email address provided. So a user can login with a GitHub account that has email set to `<something>@berkeley.edu`, and that will be treated exactly the same as someone logging in using the UC Berkeley official Identity Provider. The patch fixing this issue makes a *breaking change* in how `allowed_idps` is interpreted. It's no longer a list of domains, but configuration representing the `EntityID` of the IdPs that are allowed, picked from the [list maintained by CILogon](https://cilogon.org/idplist/). Users are advised to upgrade.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
通过用户控制密钥绕过授权机制
Source: CVE Program / CVE List V5
Vulnerability Title
OAuthenticator 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
OAuthenticator是JupyerHub 登录处理程序的 OAuth 令牌库。 OAuthenticator 14.2.0 及之前版本存在安全漏洞,该漏洞源于CILogon 是一个联合身份验证提供程序,它允许用户通过多个身份提供程序 (IdP) 进行身份验证。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
jupyterhub oauthenticator < 15.0.0 -

II. Public POCs for CVE-2022-31027

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-31027

请登录查看更多情报信息。

Vendor Advisories for CVE-2022-31027 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-31027

No comments yet


Leave a comment