🇰🇷 한글 설명
Roxy-WI 8.2.6.3 미만 버전에서 발생하는 명령 주입(Command Injection) 취약점입니다. 인증된 사용자가 /config/compare/<service>/<server_ip>/show 엔드포인트를 통해 애플리케이션 호스트에서 임의의 시스템 명령을 실행할 수 있습니다. 이 문제는 app/modules/config/config.py의 362번 라인에서 사용자 입력값이 템플릿 문자열에 직접 포함되어 실행되기 때문에 발생합니다.
💡 쉬운 설명
로그인 권한을 가진 사용자가 웹 관리 도구의 특정 메뉴를 이용해 서버에 몰래 명령을 내릴 수 있는 보안 약점입니다. 공격자가 이 기능을 악용하면 서버의 제어권을 완전히 빼앗을 수 있습니다.
🇺🇸 원문 (English)
Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. Prior to version 8.2.6.3, a command injection vulnerability exists in the `/config/compare/<service>/<server_ip>/show` endpoint, allowed authenticated users to execute arbitrary system commands on the app host. The vulnerability exists in `app/modules/config/config.py` on line 362, where user input is directly formatted in the template string that is eventually executed. Version 8.2.6.3 fixes the issue.
📍 영향받는 시스템
Roxy-WI 8.2.6.3 미만 모든 버전
⚔️ 공격 벡터
인증된 사용자가 특정 API 엔드포인트에 조작된 입력값을 전달하여 명령 실행
🛡️ 대응 방법
Roxy-WI를 최신 보안 패치가 적용된 버전 8.2.6.3 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 8.2.6.3보다 낮으면 취약한 상태이며, 8.2.6.3 이상이면 안전합니다.
python3 -c 'import re; import pkg_resources; version = pkg_resources.get_distribution("roxy-wi").version; print(version)' 2>/dev/null || echo 'not_installed'