🇰🇷 한글 설명
Roxy-WI 웹 인터페이스의 LDAP 인증 기능에서 사용자 입력값을 제대로 이스케이프하지 않고 LDAP 필터 문자열에 직접 연결하는 LDAP 인젝션 취약점입니다. 공격자가 LDAP 메타문자를 주입하여 인증 검사를 우회하고 비밀번호 없이 시스템에 접근할 수 있습니다.
💡 쉬운 설명
Roxy-WI 로그인 화면에서 사용자명 입력을 검증하지 않아, 특수문자로 시스템을 속여 비밀번호 없이 로그인할 수 있습니다. LDAP 인증이 활성화된 모든 Roxy-WI 시스템이 위험합니다.
🇺🇸 원문 (English)
Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. In versions up to and including 8.2.8.2, when LDAP authentication is enabled, Roxy-WI constructs an LDAP search filter by directly concatenating the user-supplied login username into the filter string without escaping LDAP special characters. An unauthenticated attacker can inject LDAP filter metacharacters into the username field to manipulate the search query, cause the directory to return an unintended user entry, and bypass authentication entirely — gaining access to the application without knowing any valid password. As of time of publication, no known patches are available.
📍 영향받는 시스템
Roxy-WI 버전 8.2.8.2 이하 (LDAP 인증 활성화)
⚔️ 공격 벡터
로그인 페이지의 사용자명 필드에 LDAP 필터 특수문자(*, (, ), &, | 등)를 포함한 문자열 입력하여 쿼리 조작
🛡️ 대응 방법
Roxy-WI를 8.2.8.3 이상으로 업그레이드하거나 LDAP 인증 비활성화 및 다른 인증 메커니즘 구성
🔧 검증 코드
반환된 버전 번호가 8.2.8.2 이하이면 취약하며, 명령어 실패 시 설치 경로(/usr/local, /var/www 등) 또는 실행 포트(8000-8020) 확인 필요
cat /opt/roxy-wi/VERSION 2>/dev/null || curl -s http://localhost:8010 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -1