CVE-2025-54576 (CNNVD-202507-3740)

CRITICAL
中文标题:
OAuth2-Proxy 安全漏洞
英文标题:
OAuth2-Proxy has authentication bypass in oauth2-proxy skip_auth_routes due to Query Parameter inclusion
CVSS分数: 9.1
发布时间: 2025-07-30 19:41:04
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

oauth2-proxy是OAuth2 Proxy开源的一个反向代理软件。 OAuth2-Proxy 7.10.0及之前版本存在安全漏洞,该漏洞源于skip_auth_routes配置选项使用正则表达式时可能绕过身份验证。

英文描述:

OAuth2-Proxy is an open-source tool that can act as either a standalone reverse proxy or a middleware component integrated into existing reverse proxy or load balancer setups. In versions 7.10.0 and below, oauth2-proxy deployments are vulnerable when using the skip_auth_routes configuration option with regex patterns. Attackers can bypass authentication by crafting URLs with query parameters that satisfy configured regex patterns, allowing unauthorized access to protected resources. The issue stems from skip_auth_routes matching against the full request URI. Deployments using skip_auth_routes with regex patterns containing wildcards or broad matching patterns are most at risk. This issue is fixed in version 7.11.0. Workarounds include: auditing all skip_auth_routes configurations for overly permissive patterns, replacing wildcard patterns with exact path matches where possible, ensuring regex patterns are properly anchored (starting with ^ and ending with $), or implementing custom validation that strips query parameters before regex matching.

CWE类型:
CWE-290
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
oauth2-proxy oauth2-proxy < 7.11.0 - - cpe:2.3:a:oauth2-proxy:oauth2-proxy:<_7.11.0:*:*:*:*:*:*:*
oauth2_proxy_project oauth2_proxy * - - cpe:2.3:a:oauth2_proxy_project:oauth2_proxy:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-7rh7-c77v-6434 x_refsource_CONFIRM
cve.org
访问
https://github.com/oauth2-proxy/oauth2-proxy/commit/9ffafad4b2d2f9f7668e5504565f356a7c047b77 x_refsource_MISC
cve.org
访问
https://github.com/oauth2-proxy/oauth2-proxy/blob/f4b33b64bd66ad28e9b0d63bea51837b83c00ca1/oauthproxy.go#L582-L584 x_refsource_MISC
cve.org
访问
https://github.com/oauth2-proxy/oauth2-proxy/blob/f4b33b64bd66ad28e9b0d63bea51837b83c00ca1/pkg/requests/util/util.go#L37-L44 x_refsource_MISC
cve.org
访问
https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.11.0 x_refsource_MISC
cve.org
访问
https://oauth2-proxy.github.io/oauth2-proxy/configuration/overview/#proxy-options x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
CRITICAL
9.1
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
机密性
HIGH
完整性
HIGH
可用性
NONE
时间信息
发布时间:
2025-07-30 19:41:04
修改时间:
2025-07-30 19:55:28
创建时间:
2025-11-11 15:40:42
更新时间:
2025-11-11 16:00:02
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-54576 2025-11-11 15:23:29 2025-11-11 07:40:42
NVD nvd_CVE-2025-54576 2025-11-11 15:00:58 2025-11-11 07:48:29
CNNVD cnnvd_CNNVD-202507-3740 2025-11-11 15:12:52 2025-11-11 08:00:02
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:02
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202507-3740; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202507-3740
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:29
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']