🇰🇷 한글 설명
Tugtainer 1.30.3 미만 버전에서 OIDC 인증 기능이 비활성화(OIDC_ENABLED=false)되어 있음에도 불구하고, 특정 엔드포인트(/auth/oidc/login)를 통해 인증 프로세스를 강제로 시작할 수 있는 취약점이 발견되었습니다. 이로 인해 설정된 보안 정책을 우회하여 의도치 않은 OIDC 로그인 흐름이 실행될 수 있습니다.
💡 쉬운 설명
보안 설정을 통해 로그인 기능을 꺼두었음에도 불구하고, 특정 주소를 직접 입력하면 로그인 과정이 강제로 실행되는 문제입니다. 이는 관리자가 의도한 보안 통제를 무력화할 수 있습니다.
🇺🇸 원문 (English)
Tugtainer is a self-hosted app for automating updates of Docker containers. Prior to version 1.30.3, Tugtainer's OIDC authentication can still be initiated even when OIDC_ENABLED=false. The /auth/oidc/enabled endpoint correctly reports that OIDC is disabled. However, a direct request to /auth/oidc/login still starts the OIDC login flow, returns HTTP 302, sets an oidc_state cookie, and redirects the user to the configured OIDC authorization endpoint. This bypasses the intended OIDC disable switch. This issue has been patched in version 1.30.3.
📍 영향받는 시스템
Tugtainer 1.30.3 미만 모든 버전
⚔️ 공격 벡터
공격자가 /auth/oidc/login 엔드포인트에 직접 HTTP 요청을 보내 인증 흐름을 강제 실행
🛡️ 대응 방법
Tugtainer를 최신 보안 패치가 적용된 버전 1.30.3 이상으로 업데이트
🔧 검증 코드
명령어 실행 결과 HTTP 302 응답이 반환되면 취약한 버전이므로 즉시 업데이트가 필요합니다.
curl -s -I http://<target-ip>/auth/oidc/login | grep 'HTTP/1.1 302'