🇰🇷 한글 설명
Boruta 0.9.1 이전 버전은 세션 및 'remember me' 쿠키에 Secure 속성이 누락되어 있어, HTTP 연결 시 쿠키가 평문으로 전송될 수 있습니다. 공격자가 네트워크 트래픽을 가로채면 유효한 쿠키를 탈취하여 사용자를 사칭할 수 있습니다.
💡 쉬운 설명
보안 설정이 누락되어 로그인 정보가 인터넷에서 노출될 수 있는 취약점입니다. 공격자가 이 정보를 빼앗아 내 계정에 무단으로 접속할 수 있습니다.
🇺🇸 원문 (English)
Boruta is a standalone authorization server that aims to implement OAuth 2.0 and Openid Connect up to decentralized identity specifications. Prior to version 0.9.1, boruta session cookies and the identity “remember me” cookie were set without the Secure attribute. In deployments where users could reach the same Boruta origin over plaintext HTTP, browsers could send these cookies over an unencrypted connection. An attacker able to observe or intercept that network traffic could recover a valid session or remember-me cookie and reuse it to impersonate the affected user. Affected components include boruta_web, boruta_identity, and boruta_admin. The affected cookies include the shared session cookie, defaulting to _boruta_web_key, and the identity remember-me cookie, defaulting to `_boruta_identity_web_user_remember_me`. The issue is fixed in commit 18691c655164635066aa113003a3cd87f6ed11cd, released as part of version 0.9.1. The patch sets `secure: true` and `same_site: "Lax"` on configured session cookies for boruta_web, boruta_identity, and boruta_admin, and sets `secure: true` on the identity remember-me cookie. Until upgrading to a release containing the fix: terminate or reject plaintext HTTP before requests reach Boruta; enforce HTTPS-only access at the reverse proxy or load balancer; enable HSTS for Boruta domains; if cookie exposure is suspected, rotate SECRET_KEY_BASE and BORUTA_SESSION_COOKIE_SIGNING_SALT, then require users to authenticate again. Upgrade to a version containing commit 18691c655164635066aa113003a3cd87f6ed11cd, or apply the patch manually. After deploying the fix, verify that Boruta session and remember-me cookies include the Secure attribute in browser developer tools or with an HTTP response inspection tool.
📍 영향받는 시스템
Boruta version < 0.9.1
⚔️ 공격 벡터
네트워크 트래픽 가로채기를 통한 세션 쿠키 탈취
🛡️ 대응 방법
0.9.1 이상으로 업그레이드하거나 HTTPS 강제 적용 및 쿠키 Secure 속성 활성화
🔧 검증 코드
설정 파일에 Secure 속성 비활성화 설정이 없거나, 버전이 0.9.1 이상인지 확인하여 패치 여부를 판단합니다.
grep -r 'secure.*false\|Secure.*false' /path/to/boruta/config 2>/dev/null || echo 'Check version via boruta --version'
💻 영향받는 소프트웨어
IBM Security Verify Access