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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-21291— Subdomain checking of whitelisted domains could allow unintended redirects

CVSS 4.7 · Medium EPSS 1.35% · P69

Possible ATT&CK Techniques 1AI

T1133 · External Remote Services
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2021-21291

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
Subdomain checking of whitelisted domains could allow unintended redirects
Source: CVE Program / CVE List V5
Vulnerability Description
OAuth2 Proxy is an open-source reverse proxy and static file server that provides authentication using Providers (Google, GitHub, and others) to validate accounts by email, domain or group. In OAuth2 Proxy before version 7.0.0, for users that use the whitelist domain feature, a domain that ended in a similar way to the intended domain could have been allowed as a redirect. For example, if a whitelist domain was configured for ".example.com", the intention is that subdomains of example.com are allowed. Instead, "example.com" and "badexample.com" could also match. This is fixed in version 7.0.0 onwards. As a workaround, one can disable the whitelist domain feature and run separate OAuth2 Proxy instances for each subdomain.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
指向未可信站点的URL重定向(开放重定向)
Source: CVE Program / CVE List V5
Vulnerability Title
OAuth2 Proxy 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
OAuth2 Proxy是一款能够提供与Google、Github或其他提供商进行身份验证的反向代理。 OAuth2 Proxy 存在安全漏洞,该漏洞源于允许以类似于预期域的方式结束的域作为重定向。
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

VendorProductAffected VersionsCPESubscribe
oauth2-proxyoauth2-proxy < 7.0.0 -

II. Public POCs for CVE-2021-21291

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-21291

登录查看更多情报信息。

Patches & Fixes for CVE-2021-21291 (1)

Vendor Advisories for CVE-2021-21291 (1)

Other References for CVE-2021-21291 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2021-21291

No comments yet


Leave a comment