🇰🇷 한글 설명
Sandboxie-Plus의 GuiServer::WndHookRegisterSlave 함수에서 입력값 검증 미흡으로 인해 발생하는 취약점입니다. 공격자가 조작된 hthread 및 hproc 필드를 전송할 경우, 시스템 권한으로 임의의 코드를 실행하여 샌드박스 외부의 호스트 프로세스를 장악할 수 있습니다.
💡 쉬운 설명
샌드박스라는 격리된 공간에서 실행 중인 프로그램이 보안 벽을 뚫고 컴퓨터 본체 시스템의 권한을 탈취할 수 있는 결함입니다. 이를 통해 격리된 환경을 벗어나 컴퓨터 전체를 위험에 빠뜨릴 수 있습니다.
🇺🇸 원문 (English)
Sandboxie-Plus is an open source sandbox-based isolation software for Windows. Prior to 1.17.6, GuiServer::WndHookRegisterSlave in Sandboxie/core/svc/GuiServer.cpp stores attacker-supplied hthread and hproc fields from a GUI_WND_HOOK_REGISTER request without validating that the thread belongs to the sandboxed process or that the function pointer is in the caller address space, and GuiServer::WndHookNotifySlave then calls OpenThread(THREAD_SET_CONTEXT, FALSE, whk->hthread) and QueueUserAPC((PAPCFUNC)whk->hproc, hThread, (ULONG_PTR)req->threadid) as SYSTEM, allowing a sandboxed process to execute arbitrary code in an unsandboxed host process. This issue is fixed in version 1.17.6.
📍 영향받는 시스템
Sandboxie-Plus 1.17.6 미만 버전
⚔️ 공격 벡터
샌드박스 내 프로세스가 조작된 GUI_WND_HOOK_REGISTER 요청을 통해 시스템 권한의 프로세스에 임의 코드를 주입
🛡️ 대응 방법
Sandboxie-Plus를 최신 버전인 1.17.6 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 1.17.6보다 낮으면 취약한 상태이며, 1.17.6 이상이면 안전합니다.
powershell -Command "(Get-ItemProperty 'HKLM:\SOFTWARE\Sandboxie-Plus\Version').Version" 2>/dev/null || echo 'Version not found'