Описание
OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. Prior to 7.15.2, an authorization bypass exists in OAuth2 Proxy as part of the email_domain enforcement option. An attacker may be able to authenticate with an email claim such as attacker@evil.com@company.com and satisfy an allowed domain check for company.com, even though the claim is not a valid email address. The issue ONLY affects deployments that rely on email_domain restrictions and accept email claim values from identity providers or claim mappings that do not strictly enforce normal email syntax. This vulnerability is fixed in 7.15.2.
A flaw was found in OAuth2 Proxy, a reverse proxy providing authentication using OAuth2 providers. A remote attacker can exploit an authorization bypass vulnerability by crafting a malicious email claim. This allows the attacker to bypass email_domain restrictions, which are used to limit access to specific email domains, and gain unauthorized access. This issue specifically impacts deployments that rely on email_domain restrictions and accept email claims without strict email syntax enforcement.
Отчет
A Moderate impact authorization bypass flaw exists in OAuth2 Proxy affecting deployments configured with email_domain restrictions. This vulnerability allows a remote attacker to bypass these restrictions by crafting a malicious email claim, such as attacker@evil.com@company.com, if the identity provider or claim mapping does not strictly enforce standard email syntax. Red Hat deployments are only affected if they rely on email_domain restrictions and accept email claims without strict validation.
Меры по смягчению последствий
To mitigate this issue, configure identity providers or claim mappings to strictly enforce normal email syntax for all email claim values. This prevents the acceptance of malformed email claims that could bypass email_domain restrictions. Red Hat recommends reviewing OAuth2 Proxy deployment configurations and associated identity providers to ensure robust email validation is in place.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Ceph Storage 9 | rhceph/oauth2-proxy-rhel9 | Fix deferred |
Показывать по
Дополнительная информация
Статус:
EPSS
6.8 Medium
CVSS3
Связанные уязвимости
OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. Prior to 7.15.2, an authorization bypass exists in OAuth2 Proxy as part of the email_domain enforcement option. An attacker may be able to authenticate with an email claim such as attacker@evil.com@company.com and satisfy an allowed domain check for company.com, even though the claim is not a valid email address. The issue ONLY affects deployments that rely on email_domain restrictions and accept email claim values from identity providers or claim mappings that do not strictly enforce normal email syntax. This vulnerability is fixed in 7.15.2.
OAuth2 Proxy is a reverse proxy that provides authentication using OAu ...
OAuth2 Proxy has an Authorization Bypass in Email Domain Validation via Malformed Multi-@ Email Claims
EPSS
6.8 Medium
CVSS3