🇰🇷 한글 설명
Warpgate 0.23.0부터 0.27.3 버전 사이에서 HTTP API 토큰 인증 시 사용자의 허용된 IP 범위(allowed_ip_ranges)를 검증하지 않는 취약점이 발견되었습니다. 이로 인해 유출된 X-Warpgate-Token을 보유한 공격자가 허용되지 않은 네트워크 위치에서도 인증을 통과할 수 있습니다.
💡 쉬운 설명
로그인에 필요한 비밀 열쇠(토큰)를 훔친 사람이, 원래 접속이 금지된 장소에서도 그 열쇠를 사용해 시스템에 들어올 수 있는 문제입니다. 특정 IP 주소에서만 접속하도록 설정한 보안 규칙이 제대로 작동하지 않는 상태입니다.
🇺🇸 원문 (English)
Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. From 0.23.0 until 0.27.3, HTTP API token authentication resolves ConfigProvider::validate_api_token into RequestAuthorization::UserToken without enforcing the owning user's allowed_ip_ranges against the trusted client address in warpgate-protocol-http/src/common.rs. An attacker holding a leaked, phished, or exfiltrated X-Warpgate-Token can therefore use it from a prohibited network location. Deployments without allowed_ip_ranges are unaffected, and HTTP target proxying plus SSH, MySQL, PostgreSQL, RDP, VNC, and Kubernetes paths do not accept this vulnerable HTTP token flow. This issue is fixed in version 0.27.3.
📍 영향받는 시스템
Warpgate version 0.23.0 ~ 0.27.3 (HTTP API 사용 시)
⚔️ 공격 벡터
유출되거나 탈취된 X-Warpgate-Token을 사용하여 허용되지 않은 네트워크 위치에서 HTTP API 호출
🛡️ 대응 방법
Warpgate를 최신 버전인 0.27.3 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 0.27.3 미만인 경우 해당 취약점에 노출된 상태입니다.
warpgate --version 2>/dev/null || echo 'warpgate not found'