🔍 CVE-2026-58491

9.3
CVSS Score
CRITICAL
2026-09-21
2026-09-24 21:25
✅ 완료

🇰🇷 한글 설명

Warpgate 0.25.5 미만 버전에서 SSO 인증 과정 중 특정 파라미터가 적절한 HTML 이스케이프 없이 응답에 포함되는 취약점이 발견되었습니다. 공격자는 이를 통해 인증된 사용자의 브라우저에서 악성 스크립트를 실행하거나(XSS), 사용자를 임의의 사이트로 리다이렉트(Open Redirect)시킬 수 있습니다. 이로 인해 세션 데이터 탈취 및 관리자 권한 오용의 위험이 있습니다.

💡 쉬운 설명

로그인 과정에서 조작된 링크를 클릭하면 해커가 심어놓은 악성 코드가 실행되어 사용자의 정보를 훔칠 수 있습니다. 또한, 정상적인 사이트인 것처럼 속여 가짜 사이트로 사용자를 유인할 수도 있습니다.

🇺🇸 원문 (English)

Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. Prior to 0.25.5, the /@warpgate/api/sso/providers/:name/start endpoint stores an attacker-controlled next parameter that the POST /@warpgate/api/sso/return handler inserts without HTML escaping into the response generated by warpgate-protocol-http/src/api/sso_provider_list.rs. A victim who follows a crafted link and completes SSO can cause markup and JavaScript to execute in the authenticated Warpgate origin, allowing access to session data and actions through user APIs, and through administrator APIs only when the victim is an administrator. The GET /@warpgate/api/sso/return path also uses the same unvalidated value as a redirect destination, enabling an open redirect. This issue is fixed in version 0.25.5.

📍 영향받는 시스템

Warpgate 0.25.5 미만 버전

⚔️ 공격 벡터

조작된 SSO 시작 링크를 통해 악성 파라미터를 전달하여 XSS 및 Open Redirect 유도

🛡️ 대응 방법

Warpgate를 최신 버전인 0.25.5 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 0.25.5 미만의 버전 번호가 출력되면 취약한 버전이 설치된 것입니다.

Shell / Script
warpgate --version 2>/dev/null | grep -E '0\.(?!25\.5)'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

💻 영향받는 소프트웨어

MySQL