🔍 CVE-2026-76840

9.6
CVSS Score
CRITICAL
2026-08-24
2026-10-14 13:10
✅ 완료

🇰🇷 한글 설명

RustDesk의 Windows 클립보드 리디렉션 기능에서 원격 피어가 제공하는 파일 크기 값을 검증 없이 고정된 크기의 버퍼에 복사하는 취약점이 발견되었습니다. 공격자가 조작된 응답을 보내면 로컬 사용자가 클립보드 내용을 붙여넣을 때 힙 버퍼 오버플로가 발생하여 임의 코드가 실행될 수 있습니다.

💡 쉬운 설명

원격 사용자가 보낸 클립보드 데이터를 내 컴퓨터에 붙여넣을 때, 데이터 크기를 제대로 확인하지 않아 컴퓨터의 메모리 영역을 침범하는 문제입니다. 이를 통해 해커가 내 컴퓨터를 원격으로 조종하거나 악성 코드를 실행할 수 있습니다.

🇺🇸 원문 (English)

RustDesk's Windows clipboard redirection copies a peer-supplied length into a fixed-size caller buffer without an upper bound check. When an OLE paste consumer such as explorer.exe calls IStream::Read with a buffer of cb bytes, CliprdrStream_Read in libs/clipboard/src/windows/wf_cliprdr.c requests that many bytes of a remote file through cliprdr_send_request_filecontents and then executes CopyMemory(pv, clipboard->req_fdata, clipboard->req_fsize), where req_fsize is taken verbatim from the peer's CLIPRDR FileContentsResponse by wf_cliprdr_server_file_contents_response (req_fsize = fileContentsResponse->cbRequested) and is never clamped to cb anywhere in the chain. The function's only length comparison, req_fsize < cb, handles the short-read case and is evaluated after the copy has already occurred. A malicious or compromised peer that answers a small file-contents read with an oversized response therefore writes attacker-chosen data past the end of the paste consumer's heap buffer when the local user pastes clipboard file contents offered by the remote side. The file is a fork of FreeRDP's client/Windows/wf_cliprdr.c, where the same defect is CVE-2026-68579, fixed in FreeRDP 3.30.0.

📍 영향받는 시스템

RustDesk (FreeRDP 기반 클립보드 리디렉션 기능을 사용하는 Windows 버전)

⚔️ 공격 벡터

악의적인 피어가 조작된 크기 정보를 포함한 클립보드 파일 콘텐츠 응답을 전송하여 공격

🛡️ 대응 방법

RustDesk를 최신 보안 패치가 적용된 버전으로 업데이트하거나, 신뢰할 수 없는 피어와의 클립보드 공유 기능을 비활성화하십시오.

🔧 검증 코드

출력된 버전을 확인하여 취약점이 해결된 최신 버전인지 제조사의 보안 공지와 대조하십시오.

Shell / Script
rustdesk --version 2>/dev/null || echo 'Version check not supported via CLI'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Storage Protect Snapshot for Windows