🇰🇷 한글 설명
Warpgate의 0.25.0부터 0.27.6 버전 사이의 브라우저 SSH 경로에서 호스트 키 검증 시 홉(hop) 식별자를 누락하는 취약점이 발견되었습니다. 이로 인해 점프 호스트의 키가 최종 대상 주소의 키로 잘못 저장될 수 있으며, 공격자가 대상 주소에서 해당 키를 제시할 경우 트래픽 가로채기 및 인증서 탈취가 가능합니다.
💡 쉬운 설명
중간 경유지의 보안 정보를 최종 목적지의 정보로 착각하여 저장하는 오류가 있습니다. 이를 악용하면 공격자가 사용자의 접속을 가로채고 중요한 인증 정보를 훔칠 수 있습니다.
🇺🇸 원문 (English)
Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. From 0.25.0 until 0.27.6, the browser SSH path in warpgate-web-ssh/src/manager.rs handles RCEvent::HostKeyUnknown without the presenting hop identity and instead passes ssh_options.host and ssh_options.port for the final target to KnownHosts::trust. In Prompt and AutoAccept modes, a jump host key can therefore be stored for the target address. A machine later presenting the jump host key at the target address can be accepted as the target, allowing interception of user traffic and a newly issued certificate when certificate authentication is used. The native SSH path is unaffected because it tracks each hop separately. This issue is fixed in version 0.27.6.
📍 영향받는 시스템
Warpgate 0.25.0 ~ 0.27.6 (브라우저 SSH 경로 사용 시)
⚔️ 공격 벡터
점프 호스트의 키를 대상 주소의 키로 오인하게 만들어 중간자 공격(MITM) 수행
🛡️ 대응 방법
Warpgate를 최신 버전인 0.27.6 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 0.25.0에서 0.27.6 사이라면 취약한 버전이 설치된 것입니다.
warpgate --version 2>/dev/null | grep -E '0\.(2[5-7]\.[0-6])'