本文へ移動
English version →
中 6.0

Credential disclosure through OAuth callback error logging

GHSA-hhqp-vx7f-5c6m SecPulse初出

概要

Impact

OAuth2 Proxy can write credentials to standard logs when an OAuth callback
contains a missing, expired, or invalid CSRF cookie. The affected diagnostics
format the complete HTTP request instead of logging only the authentication
failure.

The logged request can include session coo...

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

Impact

OAuth2 Proxy can write credentials to standard logs when an OAuth callback
contains a missing, expired, or invalid CSRF cookie. The affected diagnostics
format the complete HTTP request instead of logging only the authentication
failure.

The logged request can include session cookies, other cookies sent to the
callback endpoint, and Authorization headers containing Basic or Bearer
credentials. Anyone able to read the resulting logs, including through a
centralized logging service may obtain and replay credentials that remain
valid.

Affected deployments have standard logging enabled, which is the default, and
receive a failing callback carrying credential. The credentials must actually
be present in that request to be disclosed. This is not an anonymous remote
cookie-read vulnerability: exploitation requires access to the resulting logging
infrastructure. The callback itself remains rejected by the existing CSRF checks.

Patches

v7.15.5

The fix replaces the five request-dumping diagnostics with authentication log
events containing failure reasons and cookie names, without logging cookie
values, Authorization headers, or complete requests. It also removes the
explicit state value from the affected failure message.

These diagnostics now follow --auth-logging and --auth-logging-format, rather
than the standard logging settings. Operators relying on the previous log
format should update their parsers and alerts. Callback rejection, CSRF
validation, cookie…

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

参照URL

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