🔍 CVE-2026-34457

9.1
CVSS Score
CRITICAL
2026-04-14
2026-07-24 22:10
✅ 완료

🇰🇷 한글 설명

OAuth2 Proxy 7.15.2 미만 버전에서 auth_request 방식 통합 시, 헬스체크 User-Agent가 포함된 요청을 인증 없이 자동 허용하는 취약점. --ping-user-agent 또는 --gcp-healthchecks 설정 시 인증되지 않은 공격자가 보호된 업스트림 리소스에 접근 가능.

💡 쉬운 설명

OAuth2 Proxy가 서버 상태 확인용 요청을 특정 User-Agent만으로 판단하여 인증을 건너뛰는 문제. 공격자가 이 User-Agent를 위조하면 로그인 없이 보호된 웹사이트에 접근할 수 있습니다.

🇺🇸 원문 (English)

OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. Versions prior to 7.15.2 contain a configuration-dependent authentication bypass in deployments where OAuth2 Proxy is used with an auth_request-style integration (such as nginx auth_request) and either --ping-user-agent is set or --gcp-healthchecks is enabled. In affected configurations, OAuth2 Proxy treats any request with the configured health check User-Agent value as a successful health check regardless of the requested path, allowing an unauthenticated remote attacker to bypass authentication and access protected upstream resources. Deployments that do not use auth_request-style subrequests or that do not enable --ping-user-agent/--gcp-healthchecks are not affected. This issue is fixed in 7.15.2.

📍 영향받는 시스템

OAuth2 Proxy 7.15.2 미만 (auth_request 통합 + --ping-user-agent 또는 --gcp-healthchecks 활성화)

⚔️ 공격 벡터

헬스체크 User-Agent 값을 포함한 HTTP 요청으로 인증 우회

🛡️ 대응 방법

OAuth2 Proxy를 7.15.2 이상으로 즉시 업그레이드

🔧 검증 코드

출력된 버전이 7.15.2 이상이면 안전, 그 이하면 취약 상태

Shell / Script
oauth2-proxy --version 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

💻 영향받는 소프트웨어

Nginx