🇰🇷 한글 설명
Telegram-Stremio 5.1.0 이하 버전에서 인증된 토큰 보유자가 서명되지 않은 스트림 ID를 위조하여 임의의 채팅 메시지에 접근할 수 있는 취약점이 발견되었습니다. 공격자는 msg_id 값을 열거하거나 stream_handler 엔드포인트의 플래그를 조작하여 개인 채널, 그룹 및 저장된 메시지를 탈취할 수 있으며, thumb_handler 엔드포인트를 통해 썸네일까지 노출될 수 있습니다.
💡 쉬운 설명
로그인한 사용자가 특수한 코드를 만들어내어 다른 사람의 비밀 채팅이나 개인 메시지를 몰래 훔쳐볼 수 있는 보안 결함입니다. 이 과정에서 채팅 내용뿐만 아니라 사진의 미리보기 이미지까지 유출될 위험이 있습니다.
🇺🇸 원문 (English)
Telegram-Stremio through 5.1.0 contains a broken object-level authorization vulnerability that allows authenticated token holders to access arbitrary chat messages by forging unsigned, unauthenticated stream IDs decoded via encode_string/decode_string functions. Attackers can craft or enumerate sequential msg_id values and set a global flag in the stream_handler endpoint to route requests through the operator's personal Userbot account, exposing private channels, groups, and Saved Messages, while the unauthenticated thumb_handler endpoint further discloses thumbnails from those same chats without any token validation.
📍 영향받는 시스템
Telegram-Stremio 5.1.0 이하 모든 버전
⚔️ 공격 벡터
서명되지 않은 스트림 ID 위조 및 msg_id 열거를 통한 권한 우회 공격
🛡️ 대응 방법
Telegram-Stremio를 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 5.1.0 이하인지 확인하여 취약 여부를 판단합니다.
stremio --version 2>/dev/null | grep -E '5\[\.\d+\]'