🇰🇷 한글 설명
Open WebUI의 특정 버전에서 OAuth 및 SCIM 사용자 식별 시 SQLite의 SQL LIKE 패턴 매칭 취약점이 발견되었습니다. 공격자가 OAuth subject에 퍼센트(%)나 언더스코어(_)와 같은 와일드카드 문자를 포함할 경우, 다른 사용자의 계정, 특히 관리자 계정으로 인증을 우회하여 세션을 탈취할 수 있습니다. 이 문제는 PostgreSQL 환경에서는 발생하지 않으며, 버전 0.11.1에서 수정되었습니다.
💡 쉬운 설명
로그인 과정에서 특수 기호를 사용해 다른 사람, 특히 관리자의 계정으로 몰래 접속할 수 있는 보안 결함입니다. SQLite 데이터베이스를 사용하는 환경에서 발생하며, 최신 버전으로 업데이트하면 해결됩니다.
🇺🇸 원문 (English)
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.6.41 until 0.11.1, get_user_by_oauth_sub and get_user_by_scim_external_id in backend/open_webui/models/users.py used JSON contains matching that compiled to SQL LIKE substring matching on SQLite. An OAuth subject containing percent or underscore wildcard characters could resolve to a different stored identity, potentially selecting an administrator account and issuing the attacker that account's session; PostgreSQL deployments were not affected. This issue is fixed in version 0.11.1.
📍 영향받는 시스템
Open WebUI 버전 0.6.41 ~ 0.11.0 (SQLite 사용 환경)
⚔️ 공격 벡터
OAuth subject 값에 SQL 와일드카드 문자(%, _)를 삽입하여 타인 계정으로 인증 우회
🛡️ 대응 방법
Open WebUI를 최신 보안 패치가 적용된 버전 0.11.1 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 0.11.1 미만이면 취약한 상태이며, 0.11.1 이상이면 안전합니다.
python3 -c 'import pkg_resources; print(pkg_resources.get_distribution("open-webui").version)' 2>/dev/null || echo 'not installed'