🇰🇷 한글 설명
Warpgate 0.27.6 미만 버전에서 SSO 응답 처리 과정 중 스크립트 종료 시퀀스를 중립화하지 못하는 취약점이 발견되었습니다. 공격자가 제어하는 매개변수나 IdP 유래 메시지를 통해 악성 마크업을 주입할 수 있으며, CSP로 인해 스크립트 실행은 차단되지만 콘텐츠 위조나 가짜 로그인 폼 노출이 가능합니다.
💡 쉬운 설명
로그인 과정에서 웹사이트의 화면을 가짜로 꾸며 사용자를 속일 수 있는 보안 약점이 있습니다. 해커가 만든 가짜 로그인 창을 보고 사용자가 비밀번호를 입력하게 유도할 위험이 있습니다.
🇺🇸 원문 (English)
Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Prior to 0.27.6, the response_mode=form_post SSO return path in warpgate-protocol-http/src/api/sso_provider_list.rs uses serde_json::to_string inside ReturnToSsoPostResponse without neutralizing a script-closing sequence. The vulnerable value can enter the script block through the attacker-controlled next redirect parameter stored by warpgate-protocol-http/src/api/sso_provider_detail.rs or through IdP-derived error messages that make_redirect_url concatenates without URL encoding. The IdP-derived path is reachable when the attacker controls a configured identity provider, or when the attacker controls the email or username claim on an attacker-controlled account and the configured identity provider permits the required unvalidated claim format. A victim must complete the form_post SSO flow for the injected markup to be rendered. The Warpgate Content-Security-Policy blocks injected JavaScript and event handlers, so the demonstrated impact is content spoofing, a false login form, or a meta refresh rather than script execution. This issue is fixed in version 0.27.6.
📍 영향받는 시스템
Warpgate 0.27.6 미만 버전
⚔️ 공격 벡터
조작된 next redirect 매개변수 또는 URL 인코딩되지 않은 IdP 오류 메시지를 통한 마크업 주입
🛡️ 대응 방법
Warpgate를 최신 버전인 0.27.6 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 0.27.6 미만인지 확인하십시오.
warpgate --version 2>/dev/null || dpkg -l | grep warpgate