🇰🇷 한글 설명
Roxy-WI는 Haproxy, Nginx, Apache 및 Keepalived 서버를 관리하는 웹 인터페이스입니다. 8.2.6.4 이전 버전에서 app/routes/config/routes.py의 haproxy_section_save 함수에 SQL injection 취약점이 존재합니다. URL 경로의 server_ip 파라미터가 검증 없이 SQL 쿼리에 직접 삽입되어 공격자가 임의의 SQL 명령을 실행할 수 있습니다.
💡 쉬운 설명
Roxy-WI 웹 도구에서 서버 설정을 저장할 때 사용자 입력을 제대로 검증하지 않아 해커가 데이베이스를 조작할 수 있는 문제입니다. 이를 통해 민감한 데이터를 탈취하거나 서버 설정을 변조할 수 있습니다.
🇺🇸 원문 (English)
Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. Versions prior to 8.2.6.4 have a SQL injection vulnerability in the haproxy_section_save function in app/routes/config/routes.py. The server_ip parameter, sourced from the URL path, is passed unsanitized through multiple function calls and ultimately interpolated into a SQL query string using Python string formatting, allowing attackers to execute arbitrary SQL commands. Version 8.2.6.4 fixes the issue.
📍 영향받는 시스템
Roxy-WI 버전 8.2.6.3 이전 모든 버전
⚔️ 공격 벡터
URL의 server_ip 파라미터에 SQL 문법을 삽입하여 config/routes 엔드포인트를 통해 공격 수행
🛡️ 대응 방법
Roxy-WI를 8.2.6.4 이상으로 업그레이드하거나 입력 검증 및 prepared statements 적용으로 SQL injection 방지
🔧 검증 코드
roxy-wi 패키지의 버전이 8.2.6.4 미만이면 취약점 있음, 8.2.6.4 이상이거나 미설치면 안전
pip list | grep -i roxy-wi