🔍 CVE-2026-10108

7.5
CVSS Score
HIGH
2026-05-29
2026-10-08 16:17
✅ 완료

🇰🇷 한글 설명

xiaomusic v0.5.7 버전의 GET /music/{file_path:path} 엔드포인트에서 인증되지 않은 사용자가 임의의 파일을 읽을 수 있는 경로 탐색(Path Traversal) 취약점이 발견되었습니다. 경로 접두사 검사 시 마지막 구분자(separator)가 누락된 로직 결함을 악용하여, 공격자는 의도된 음악 디렉터리 외부의 파일을 탈취할 수 있습니다.

💡 쉬운 설명

해커가 허가되지 않은 경로를 입력하여 서버에 저장된 음악 파일 외에 중요한 시스템 파일을 몰래 읽어갈 수 있는 보안 약점입니다. 파일 경로를 확인하는 과정에서 검사 규칙이 허술하여 발생합니다.

🇺🇸 원문 (English)

xiaomusic v0.5.7 contains an unauthenticated path traversal vulnerability in the GET /music/{file_path:path} endpoint that allows unauthenticated attackers to read arbitrary files outside the intended music directory by exploiting an incomplete path prefix check. Attackers can request files from sibling directories whose names share the music_path prefix by crafting traversal sequences, bypassing the path restriction due to the missing trailing separator in the comparison logic to retrieve arbitrary files from the server.

📍 영향받는 시스템

xiaomusic v0.5.7

⚔️ 공격 벡터

인증되지 않은 공격자가 특수하게 조작된 경로 탐색 시퀀스를 포함한 GET 요청을 전송하여 발생

🛡️ 대응 방법

해당 취약점이 해결된 최신 버전으로 업데이트하거나, 경로 검사 로직에 trailing separator를 추가하여 경로 제한을 강화해야 함

🔧 검증 코드

출력된 버전이 0.5.7인 경우 해당 취약점에 노출된 상태임

Shell / Script
pip show xiaomusic 2>/dev/null | grep -E 'Version'

📊 CVSS Vector String

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