🇰🇷 한글 설명
오픈 소스 네트워크 비디오 녹화기인 Frigate 0.18.0 미만 버전에서 /api/go2rtc/api 경로에 대한 권한 관리 미흡 취약점이 발견되었습니다. 인증된 일반 사용자(viewer)가 GET 요청을 통해 내부 주소, 설정 경로, 애플리케이션 로그 및 카메라 자격 증명이 포함될 수 있는 RTSP 스트림 URL을 탈취할 수 있습니다.
💡 쉬운 설명
Frigate를 사용하는 일반 사용자가 권한을 넘어 시스템의 중요한 설정 정보나 카메라 접속 비밀번호가 담긴 주소를 몰래 볼 수 있는 문제입니다. 이를 통해 공격자가 카메라 영상에 접근하거나 시스템 내부 정보를 파악할 위험이 있습니다.
🇺🇸 원문 (English)
Frigate is an open source network video recorder. Prior to 0.18.0, the prefix-matched location /api/go2rtc/api in docker/main/rootfs/usr/local/nginx/conf/nginx.conf requires authentication but does not require an administrator role for GET requests, exposing the proxied go2rtc API to viewer users. An authenticated viewer can request the streams, config, log, and stack subpaths to obtain internal addresses, configuration paths, application logs, goroutine stack data, and RTSP stream URLs that may contain camera credentials. Non-GET methods remain blocked by limit_except GET. This issue is fixed in version 0.18.0.
📍 영향받는 시스템
Frigate version < 0.18.0
⚔️ 공격 벡터
인증된 일반 사용자 권한으로 특정 API 경로에 GET 요청을 보내 내부 정보 탈취
🛡️ 대응 방법
Frigate를 0.18.0 버전 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 실행 시 'Vulnerable'이 출력되면 해당 취약점에 노출된 상태이며, 'Not Vulnerable'이면 안전한 상태입니다.
curl -s http://<target_ip>/api/go2rtc/api/config | grep -q '"' && echo 'Vulnerable' || echo 'Not Vulnerable'