🔍 CVE-2024-8060

8.1
CVSS Score
HIGH
2025-03-20
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

OpenWebUI 0.3.0의 음성 API 엔드포인트에서 불충분한 파일 검증으로 인해 인증된 사용자가 경로 탐색 취약점을 이용해 Docker 컨테이너 내 임의의 파일을 덮어쓸 수 있습니다. 이를 통해 루트 권한으로 원격 코드 실행이 가능합니다.

💡 쉬운 설명

OpenWebUI 앱의 음성 파일 업로드 기능에 보안 문제가 있어서 로그인한 사용자가 시스템의 중요한 파일을 변조할 수 있습니다. 이를 통해 공격자가 전체 서버를 제어할 수 있게 됩니다.

🇺🇸 원문 (English)

OpenWebUI version 0.3.0 contains a vulnerability in the audio API endpoint `/audio/api/v1/transcriptions` that allows for arbitrary file upload. The application performs insufficient validation on the `file.content_type` and allows user-controlled filenames, leading to a path traversal vulnerability. This can be exploited by an authenticated user to overwrite critical files within the Docker container, potentially leading to remote code execution as the root user.

📍 영향받는 시스템

OpenWebUI version 0.3.0

⚔️ 공격 벡터

인증된 사용자가 /audio/api/v1/transcriptions 엔드포인트를 통해 경로 탐색 문자가 포함된 파일명으로 악의적인 파일을 업로드

🛡️ 대응 방법

OpenWebUI를 최신 버전으로 업그레이드하고 파일 업로드에 대한 파일명 검증 및 경로 탐색 필터링 적용

🔧 검증 코드

pip 출력에서 open-webui 버전이 0.3.0 이하이면 취약함. 최신 버전으로 업그레이드하거나 Docker 컨테이너가 실행 중이면 이미지 버전 확인

Shell / Script
pip list 2>/dev/null | grep -i openwebui || docker ps --filter 'ancestor=*open-webui*' --format '{{.Image}}'

📊 CVSS Vector String

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

💻 영향받는 소프트웨어

Docker