🇰🇷 한글 설명
Chainlit 2.10.1 미만 버전에서 세션 하이재킹 취약점이 발견되었습니다. 인증되지 않은 공격자가 소유권 검증 없이 유효한 sessionId를 제시하여 인증된 사용자의 세션을 복구하고 권한을 상속받을 수 있습니다. 이를 통해 공격자는 피해자의 권한을 탈취하여 도구를 실행하거나 제한된 데이터에 접근할 수 있습니다.
💡 쉬운 설명
로그인한 사용자의 세션 ID만 알면, 공격자가 마치 그 사용자인 것처럼 속여서 시스템에 접속할 수 있는 문제입니다. 이를 통해 공격자는 피해자의 권한을 이용해 중요한 데이터를 보거나 기능을 마음대로 사용할 수 있습니다.
🇺🇸 원문 (English)
Chainlit before 2.10.1 contains a session hijacking vulnerability that allows unauthenticated attackers to restore and inherit authenticated user sessions by presenting a valid sessionId during WebSocket session restoration without ownership verification. Attackers can exploit the restore_existing_session path to assume a victim's permissions and roles, enabling unauthorized invocation of tools and access to data restricted to the authenticated victim.
📍 영향받는 시스템
Chainlit versions before 2.10.1
⚔️ 공격 벡터
WebSocket 세션 복구 경로(restore_existing_session)를 통한 유효한 sessionId 제출
🛡️ 대응 방법
Chainlit를 2.10.1 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 2.10.1보다 낮으면 취약한 상태입니다.
pip show chainlit | grep Version