🇰🇷 한글 설명
Open WebUI 0.9.6 미만 버전에서 Ollama 프록시 경로의 url_idx 매개변수를 조작하여 관리자가 설정한 백엔드 목록 중 권한이 없는 내부 또는 고권한 Ollama 백엔드에 접근할 수 있는 취약점이 존재합니다. 인증된 사용자가 임의의 인덱스를 사용하여 접근이 제한된 백엔드로 요청을 강제 전달할 수 있습니다.
💡 쉬운 설명
로그인한 사용자가 주소를 살짝 바꿔서 원래는 접근하면 안 되는 관리자용 AI 서버에 몰래 접속할 수 있는 문제입니다. 이를 통해 허용되지 않은 내부 AI 모델이나 서버 자원을 마음대로 이용할 수 있습니다.
🇺🇸 원문 (English)
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, several direct, index-addressed Ollama proxy routes accept a caller-supplied url_idx path parameter and use it as a raw index into the admin-configured OLLAMA_BASE_URLS list. Access control on these routes validates only whether the user may use the requested model, never which backend the request is routed to. Any authenticated user can append an arbitrary url_idx to force their request onto an Ollama backend they were never authorized to reach, including internal, higher-privilege, or explicitly admin-disabled backends. This vulnerability is fixed in 0.9.6.
📍 영향받는 시스템
Open WebUI versions prior to 0.9.6
⚔️ 공격 벡터
인증된 사용자가 Ollama 프록시 경로의 url_idx 파라미터에 임의의 인덱스 값을 입력하여 요청 전달
🛡️ 대응 방법
Open WebUI를 0.9.6 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 0.9.6보다 낮으면 취약한 상태이며, 0.9.6 이상이면 안전합니다.
python3 -c 'import pkg_resources; print(pkg_resources.get_distribution("open-webui").version)' 2>/dev/null || echo 'not installed'