本文へ移動
English version →
重大 9.1

OAuth2 Proxyで認証を回避され保護されたリソースに到達される恐れ

GHSA-63jm-59jj-478j SecPulse初出

概要

OAuth2 Proxyでは、認証除外のパス設定と後段のプロキシやアプリケーションでのパスの解釈が食い違うと、未認証の攻撃者が保護されたリソースにアクセスできる脆弱性があります。影響を受けるのは特定の設定を使う環境で、深刻度は重大(CVSS 9.1)です。修正版の情報は確認できていないため、最新の情報を確認してください。

AI要約

外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

OAuth2 Proxyでは、認証除外のパス設定と後段のプロキシやアプリケーションでのパスの解釈が食い違うと、未認証の攻撃者が保護されたリソースにアクセスできる脆弱性があります。影響を受けるのは特定の設定を使う環境で、深刻度は重大(CVSS 9.1)です。修正版の情報は確認できていないため、最新の情報を確認してください。

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

Impact

OAuth2 Proxy is vulnerable to an authentication bypass when path-based
authentication exemptions (--skip-auth-route or --skip-auth-regex) are
configured and a downstream proxy or application interprets the request path
differently from OAuth2 Proxy.

An unauthenticated attacker can submit a specially crafted path that matches
a public-route exemption but is routed downstream to a protected resource.
Depending on the application, this can expose confidential information or
allow unauthorized access.

The affected path interpretations include:

Path interpretation Example Impacted configurations
Dot segments /public/%2e%2e/protected matches a public prefix but resolves downstream to /protected. External-auth integrations that forward the original URI; direct proxying with proxyRawPath: true and a downstream component that resolves dot segments.
Leading double slashes //protected/public is parsed as an authority and the path /public, allowing an exact ^/public$ exemption to match. External-auth integrations whose downstream routing retains the first component as part of the path.
Servlet matrix parameters /public/..;/protected matches a public prefix but resolves downstream to /protected after matrix parameters are removed. Direct proxying or external auth with a downstream component using the affected servlet-style routing semantics. Direct proxying does not require proxyRawPath: true.
  • Dep…

出典: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく