🇰🇷 한글 설명
Lyrion Music Server 9.2.0에는 readdirectory 쿼리에서 임의 디렉터리 목록 조회 취약점이 존재합니다. CLI 서비스(TCP 9090)와 HTTP JSON-RPC 엔드포인트(/jsonrpc.js) 모두에서 노출되며, folder 매개변수에 대한 경로 제한이 없고 기본 설정에서는 인증도 요구하지 않습니다. 이로 인해 원격의 인증되지 않은 공격자가 호스트 파일시스템의 임의 위치를 열거할 수 있습니다.
💡 쉬운 설명
음악 서버 프로그램이 설정된 음악 폴더 밖의 시스템 폴더 목록까지 누구에게나 보여줄 수 있는 문제입니다. 로그인 없이도 외부에서 서버 안의 파일 구조를 엿볼 수 있습니다.
🇺🇸 원문 (English)
Lyrion Music Server 9.2.0 contains an arbitrary directory listing vulnerability in its readdirectory query, exposed through both the CLI service (TCP port 9090) and the HTTP JSON-RPC endpoint (/jsonrpc.js). The query accepts a folder parameter and lists its contents with no restriction to the configured media directories and no authentication in the default configuration, allowing a remote, unauthenticated attacker to enumerate arbitrary locations on the host filesystem.
📍 영향받는 시스템
Lyrion Music Server 9.2.0 (기본 설정, 인증 미사용 환경)
⚔️ 공격 벡터
네트워크에서 TCP 9090 또는 /jsonrpc.js에 readdirectory 요청을 보내 folder 매개변수로 임의 경로를 지정해 목록을 조회
🛡️ 대응 방법
Lyrion Music Server를 최신 버전으로 업데이트하고, 인증을 활성화하며, 9090 포트와 웹 인터페이스를 신뢰할 수 없는 네트워크에서 차단
🔧 검증 코드
출력에 9.2.0 버전 정보가 나타나면 취약한 버전이며, 출력이 없으면 해당 패키지가 설치되지 않았거나 다른 버전입니다.
dpkg -l lyrion-music-server 2>/dev/null | grep -E '9\.2\.0' || rpm -q lyrion-music-server 2>/dev/null | grep -E '9\.2\.0'