CVE-2026-68579:
Wolfi 취약성 분석 및 완화
개요
CVE-2026-68579 is a heap-based buffer overflow vulnerability in FreeRDP's Windows clipboard client, specifically in the CliprdrStream_Read function (client/Windows/wf_cliprdr.c). It affects all FreeRDP versions up to and including 3.29.0, and was disclosed on August 2, 2026, with a patch available in FreeRDP 3.30.0. The vulnerability was discovered using AI-assisted analysis by Anthropic (Claude) and validated by Ada Logics. It carries a CVSS v3.1 base score of 9.6 (Critical) and a CVSS v4.0 base score of 8.7 (High) (GitHub Advisory, GitHub Advisory DB).
기술적 세부 사항
The root cause is an out-of-bounds write (CWE-787) in CliprdrStream_Read(). When an OLE paste consumer such as explorer.exe calls IStream::Read(pv, cb, ...) with a fixed-size buffer of cb bytes, the function sends a bounded CB_FILECONTENTS_RANGE request to the RDP server, then copies the server's response into the caller's buffer using the server-supplied length (req_fsize) rather than the caller-specified cb: CopyMemory(pv, clipboard->req_fdata, clipboard->req_fsize);. A malicious or compromised RDP server can return an oversized CB_FILECONTENTS_RESPONSE, causing req_fsize to exceed cb and writing attacker-controlled data beyond the heap buffer boundary in the paste consumer's process. The fix is to clamp the copy length to min(req_fsize, cb) before performing the CopyMemory operation (GitHub Advisory).
영향
Successful exploitation allows an unauthenticated attacker controlling a malicious or compromised RDP server to achieve remote code execution in the OLE paste consumer process (e.g., explorer.exe) on the Windows client machine. The overflow writes attacker-controlled data into a heap buffer outside the FreeRDP process itself, meaning the impact extends to the host operating system's shell process. This results in high integrity and availability impact, with limited confidentiality impact, and could enable full system compromise, lateral movement, or persistent access (GitHub Advisory, GitHub Advisory DB).
착취 단계
- Set up a malicious RDP server: Deploy a custom or modified RDP server capable of crafting and sending oversized
CB_FILECONTENTS_RESPONSEPDUs in response toCB_FILECONTENTS_RANGErequests from the client. - Lure the victim to connect: Social-engineer or redirect a Windows user running a vulnerable FreeRDP client (version ≤ 3.29.0) to connect to the attacker-controlled RDP server.
- Offer clipboard file contents: Configure the malicious RDP server to advertise file-based clipboard content (e.g., a file object) to the client, making it available for paste operations.
- Trigger the paste action: Wait for or prompt the user to paste the server-offered clipboard file contents in a Windows application (e.g., drag-and-drop or Ctrl+V in Explorer), causing
explorer.exeto callIStream::Readvia the COM interface. - Send oversized response: When the FreeRDP client sends a bounded
CB_FILECONTENTS_RANGErequest forcbbytes, respond with aCB_FILECONTENTS_RESPONSEcontaining significantly more data thancb. - Trigger heap overflow:
CliprdrStream_Readcopies the full server-suppliedreq_fsizebytes into thecb-byte heap buffer inexplorer.exe, overwriting adjacent heap memory with attacker-controlled content. - Achieve code execution: Leverage the heap overflow to corrupt heap metadata or function pointers in
explorer.exe, ultimately redirecting execution to attacker-controlled shellcode or a ROP chain (GitHub Advisory).
타협의 징후
- Network: Outbound RDP connections (TCP port 3389 or custom ports) from Windows hosts to unknown or untrusted external IP addresses; unusually large
CB_FILECONTENTS_RESPONSEPDUs in RDP traffic captures. - Process: Unexpected child processes spawned by
explorer.exe(e.g.,cmd.exe,powershell.exe,curl.exe);explorer.execrashing or restarting unexpectedly after a clipboard paste operation. - Logs: Windows Event Log entries showing
explorer.exeapplication crashes (Event ID 1000/1001) correlated with active FreeRDP RDP sessions; heap corruption-related crash dumps in%LOCALAPPDATA%\CrashDumps\. - File System: Unexpected files written to user-accessible directories by
explorer.exefollowing an RDP clipboard paste event; new scheduled tasks or registry run keys created around the time of the crash.
완화 및 해결 방법
Upgrade FreeRDP to version 3.30.0 or later, which clamps the CopyMemory length to min(req_fsize, cb) to prevent the overflow (GitHub Advisory). As interim workarounds: disable clipboard redirection in RDP sessions if not operationally required; restrict RDP client connections to trusted, verified servers only; and educate users to avoid pasting clipboard content received from untrusted RDP sessions. Organizations using FreeRDP in enterprise environments should prioritize patching given the Critical CVSS v3.1 score and the potential for RCE in explorer.exe.
커뮤니티 반응
The vulnerability was discovered through AI-assisted security research by Anthropic (using Claude agents) and validated and reported by Ada Logics, representing a notable example of AI-driven vulnerability discovery in open-source software (GitHub Advisory). Coverage appeared on The Hacker Wire shortly after disclosure, and the vulnerability was indexed by VulnDB and other threat intelligence aggregators within hours of publication. No significant public researcher debate or vendor controversy has been observed.
추가 자료
근원: 이 보고서는 AI를 사용하여 생성되었습니다.
관련 Wolfi 취약점:
무료 취약성 평가
클라우드 보안 태세를 벤치마킹합니다
9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.
추가 Wiz 리소스
맞춤형 데모 받기
맞춤형 데모 신청하기
"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."