🔍 CVE-2026-61826

10.0
CVSS Score
CRITICAL
2026-10-30
2026-11-05 03:17
✅ 완료

🇰🇷 한글 설명

Bazarr는 Sonarr 및 Radarr의 보조 애플리케이션입니다. 1.5.7-beta.14 이전 버전에서는 bazarr/api/plex/oauth.py의 api_ns_plex 네임스페이스 핸들러에 @authenticate 데코레이터가 누락되어, 인증되지 않은 공격자가 Plex 자격 증명 삭제, API 키 변경, 서버 URL 조작 등 설정을 변경할 수 있습니다. 또한 조작된 서버 URL로 인해 설정된 API 키가 외부로 전송되어 SSRF 및 자격 증명 노출이 발생할 수 있습니다.

💡 쉬운 설명

로그인하지 않은 사람도 Bazarr의 Plex 연동 설정을 바꾸거나 삭제할 수 있는 심각한 취약점입니다. 공격자가 설정을 조작해 API 키가 외부로 유출될 수도 있습니다.

🇺🇸 원문 (English)

Bazarr is a companion application to Sonarr and Radarr. Prior to 1.5.7-beta.14, the `api_ns_plex` namespace in `bazarr/api/plex/oauth.py` omits `@authenticate` on its Resource handlers, while normal APIs require an API key and no global authentication hook compensates. Anonymous callers can invoke `POST /api/plex/oauth/logout` to clear credentials and disable the integration, or `POST /api/plex/apikey` to persist an attacker-selected key, without a PIN, account or state precondition. `POST /api/plex/oauth/pin` and `GET /api/plex/oauth/pin/<pin_id>/check` additionally allow an attacker who completes a PIN with an attacker-controlled Plex account to bind that account's token to the instance. `PlexPinCheck` skips state validation when `state_param` is absent and merely logs a mismatch without stopping execution. `POST /api/plex/select-server`, `POST /api/plex/oauth/servers`, `POST /api/plex/webhook/create`, `POST /api/plex/webhook/delete` and `POST /api/plex/encrypt-apikey` expose further `write_config()` operations. Attacker-controlled server URLs feed later outbound requests carrying the configured API key in `X-Plex-Token`, enabling server-side request forgery and credential exposure in addition to persistent configuration tampering and integration denial of service. Version 1.5.7-beta.14 closes the anonymous API-mutation path by adding authentication; complete OAuth state validation is not established and remains a separate residual for curator review.

📍 영향받는 시스템

Bazarr 1.5.7-beta.14 미만 버전

⚔️ 공격 벡터

인증 없이 /api/plex/oauth/logout, /api/plex/apikey 등 Plex 관련 API 엔드포인트를 직접 호출하여 설정 변경 및 SSRF 유발

🛡️ 대응 방법

Bazarr를 1.5.7-beta.14 이상으로 업데이트하고, 업데이트 전까지 외부 네트워크에서 Bazarr 웹 접근을 차단하세요.

🔧 검증 코드

출력된 버전이 1.5.7-beta.14 미만이면 취약한 버전이므로 즉시 업데이트가 필요하며, 명령이 아무것도 출력하지 않으면 설치 경로를 직접 확인해야 합니다.

Shell / Script
pip show bazarr 2>/dev/null || grep -rE '^(version|__version__)' /opt/bazarr/bazarr/main.py 2>/dev/null || cat /opt/bazarr/VERSION 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server