🔍 CVE-2026-42605

8.8
CVSS Score
HIGH
2026-05-09
2026-07-24 19:10
✅ 완료

🇰🇷 한글 설명

AzuraCast 0.23.6 이전 버전의 미디어 업로드 엔드포인트(POST /api/station/{station_id}/files/upload)에서 currentDirectory 매개변수가 경로 조회 시퀀스를 검증하지 않아, 미디어 관리 권한이 있는 인증된 사용자가 웹 루트에 임의의 PHP 파일을 작성할 수 있습니다. 이를 통해 원격 코드 실행이 가능하며, 0.23.6 버전에서 패치되었습니다.

💡 쉬운 설명

AzuraCast의 파일 업로드 기능에서 경로 검증이 부족해 권한이 있는 사용자가 악의적인 파일을 웹 서버 루트에 저장할 수 있습니다. 공격자는 이를 이용해 서버를 완전히 제어할 수 있게 됩니다.

🇺🇸 원문 (English)

AzuraCast is a self-hosted, all-in-one web radio management suite. Prior to version 0.23.6, the currentDirectory request parameter in the Flow.js media upload endpoint (POST /api/station/{station_id}/files/upload) is not sanitized for path traversal sequences. When combined with a local filesystem storage backend (the default), an authenticated user with media management permissions can write arbitrary files outside the station's media storage directory, achieving remote code execution by writing a PHP webshell to the web root. This issue has been patched in version 0.23.6.

📍 영향받는 시스템

AzuraCast 0.23.6 미만 버전

⚔️ 공격 벡터

인증된 사용자가 /api/station/{station_id}/files/upload 엔드포인트의 currentDirectory 매개변수에 경로 조회 시퀀스(../)를 삽입하여 웹 루트에 PHP 웹쉘 작성

🛡️ 대응 방법

AzuraCast를 0.23.6 이상 버전으로 업그레이드

🔧 검증 코드

반환된 버전이 0.23.6 미만이면 취약하고, 0.23.6 이상이면 패치된 상태입니다.

Shell / Script
curl -s http://localhost:8080/api/status 2>/dev/null | grep -o '"version":"[^"]*'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP