🇰🇷 한글 설명
openshift/oauth-proxy에서 인증된 사용자 식별 헤더를 처리할 때 대시(-) 형태의 키만 검사하고 언더스코어(_) 형태의 키를 제거하지 않는 결함이 발견되었습니다. WSGI 및 PHP 프레임워크가 두 형태를 동일하게 처리하는 특성을 악용하여, 권한이 낮은 사용자가 위조된 신원 정보를 주입해 상위 애플리케이션의 인증 정보를 덮어쓸 수 있습니다.
💡 쉬운 설명
인증 시스템이 이름표를 확인할 때 '이름-사용자'와 '이름_사용자'를 서로 다른 것으로 착각하는 허점을 이용한 공격입니다. 이를 통해 공격자는 가짜 신분증을 몰래 끼워 넣어 관리자 권한을 탈취할 수 있습니다.
🇺🇸 원문 (English)
A flaw was found in openshift/oauth-proxy. The proxy sets authenticated identity headers using only dash-variant keys (X-Forwarded-User) but does not strip underscore-variant keys (X_Forwarded_User) from incoming requests. WSGI and PHP frameworks normalize both variants to the same variable, allowing an authenticated low-privilege user to smuggle a forged identity that may override the legitimate authenticated identity in the upstream application.
📍 영향받는 시스템
openshift/oauth-proxy (패치 전 버전)
⚔️ 공격 벡터
언더스코어가 포함된 위조된 HTTP 헤더(X_Forwarded_User)를 전송하여 인증 정보를 주입하는 헤더 스머글링(Header Smuggling)
🛡️ 대응 방법
openshift/oauth-proxy를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 결과의 버전을 확인하여 보안 패치가 적용된 최신 버전인지 대조하십시오.
rpm -qa | grep openshift-oauth-proxy || dpkg -l | grep openshift-oauth-proxy