🇰🇷 한글 설명
Roxy-WI의 로그인 흐름에서 리다이렉션 URL 검증 로직이 userinfo@host 형식을 고려하지 않아 악의적인 URL을 허용하는 취약점이 존재합니다. 공격자는 이를 통해 사용자를 악성 도메인으로 리다이렉션할 수 있으며, 현재 공개된 패치가 없습니다.
💡 쉬운 설명
웹사이트가 로그인 후 돌아올 주소를 확인할 때, 해커가 만든 가짜 주소 패턴을 제대로 걸러내지 못하는 문제입니다. 이로 인해 사용자가 의도치 않게 악성 사이트로 이동할 수 있습니다.
🇺🇸 원문 (English)
Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. In versions 8.2.6.4 and prior, the login flow allow-lists next URLs by rejecting strings containing https:// or http:// substrings, then constructs https://{request.host}{next_url} and the JS client redirects via window.location.replace(). The block does not consider the userinfo@host syntax.
[email protected]/path produces https://
[email protected]/path, which all modern browsers route to evil.example. At time of publication, there are no publicly available patches.
📍 영향받는 시스템
Roxy-WI version 8.2.6.4 and prior
⚔️ 공격 벡터
Login flow next URL validation bypass via userinfo@host syntax
🛡️ 대응 방법
Apply vendor patch when available or implement strict URL validation excluding userinfo syntax
🔧 검증 코드
출력된 코드에서 https:// 또는 http:// 차단 로직이 userinfo@host 패턴을 제외하고 있는지 확인하여 취약성 존재 여부 판단
grep -r 'next_url' /opt/roxy-wi/ 2>/dev/null | head -n 1