🇰🇷 한글 설명
OnionShare 2.6.4 미만 버전의 CLI 및 데스크톱 버전에서 발생하며, 수신 모드의 '파일 전송 비활성화(disable_files)' 설정이 제대로 적용되지 않는 취약점입니다. 이로 인해 텍스트 전용 설정이 되어 있음에도 불구하고 ReceiveModeRequest._get_file_stream() 함수가 multipart file[] 데이터를 디스크에 기록할 수 있습니다.
💡 쉬운 설명
파일을 받지 않도록 설정했음에도 불구하고, 공격자가 파일을 보내면 시스템이 이를 무시하지 못하고 저장해버리는 문제입니다. 보안 설정이 의도대로 작동하지 않아 원치 않는 파일이 내 컴퓨터에 저장될 수 있습니다.
🇺🇸 원문 (English)
OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. Prior to 2.6.4, OnionShare CLI/Desktop does not enforce the Receive mode disable_files setting in cli/onionshare_cli/web/receive_mode.py, where ReceiveModeRequest._get_file_stream() writes multipart file[] data to disk despite the text-only setting. This issue is fixed in version 2.6.4.
📍 영향받는 시스템
OnionShare CLI/Desktop versions prior to 2.6.4
⚔️ 공격 벡터
텍스트 전용 수신 모드 상태에서 공격자가 multipart/form-data 형식의 파일을 전송하여 디스크에 쓰기 유도
🛡️ 대응 방법
OnionShare를 최신 버전인 2.6.4 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 2.6.4 미만인지 확인하십시오.
onionshare --version 2>/dev/null || python3 -c "import onionshare; print(onionshare.__version__)" 2>/dev/null || echo 'Version check failed'