Sandboxie-Plus is an open source sandbox-based isolation software for Windows. In versions 1.17.2 and earlier, a Time-of-Check-to-Time-of-Use (TOCTOU) race condition exists during addon installation. When a user installs an addon through the SandMan interface, UpdUtil.exe is spawned as SYSTEM by SbieSvc but stages files in the user-writable %TEMP%\sandboxie-updater directory. After UpdUtil verifies file hashes against the signed addon manifest, install.bat extracts files.cab and executes config.exe from its contents. Between hash verification and extraction, an unprivileged user can replace files.cab with a crafted cabinet containing a malicious executable, which is then run as SYSTEM. No UAC prompt is required.
This issue has been fixed in version 1.17.3.
CVE-2026-34596 is a critical privilege escalation vulnerability in Sandboxie-Plus versions 1.17.2 and earlier exploiting a TOCTOU race condition during addon installation. An unprivileged attacker can replace staged addon files between hash verification and extraction to execute arbitrary code as SYSTEM without UAC prompts. With exploit code publicly available, this poses immediate risk to organizations using Sandboxie for application isolation and malware analysis.
IMMEDIATE ACTIONS:
1. Upgrade Sandboxie-Plus to version 1.17.3 or later immediately
2. Disable addon installation functionality until patching is complete
3. Restrict user permissions on %TEMP%\sandboxie-updater directory to SYSTEM-only access
4. Audit all recently installed addons for integrity
PATCHING GUIDANCE:
- Deploy version 1.17.3+ through centralized patch management
- Verify digital signatures on all Sandboxie binaries post-update
- Test addon functionality in non-production environment first
COMPENSATING CONTROLS (if immediate patching delayed):
- Disable addon installation via Group Policy or configuration lockdown
- Monitor %TEMP%\sandboxie-updater for unauthorized file modifications
- Implement file integrity monitoring (FIM) on addon staging directories
- Restrict Sandboxie service to run under dedicated low-privilege account where possible
DETECTION RULES:
- Alert on UpdUtil.exe spawning with SYSTEM privileges
- Monitor for file replacements in %TEMP%\sandboxie-updater between hash verification and extraction
- Track config.exe execution from non-standard paths
- Log all addon installation attempts with source validation
الإجراءات الفورية:
1. ترقية Sandboxie-Plus إلى الإصدار 1.17.3 أو أحدث فوراً
2. تعطيل وظيفة تثبيت الإضافات حتى اكتمال التصحيح
3. تقييد أذونات المستخدم على دليل %TEMP%\sandboxie-updater للوصول من SYSTEM فقط
4. تدقيق جميع الإضافات المثبتة مؤخراً للتحقق من السلامة
إرشادات التصحيح:
- نشر الإصدار 1.17.3+ من خلال إدارة التصحيحات المركزية
- التحقق من التوقيعات الرقمية على جميع ملفات Sandboxie الثنائية بعد التحديث
- اختبار وظيفة الإضافات في بيئة غير الإنتاج أولاً
الضوابط البديلة (إذا تأخر التصحيح الفوري):
- تعطيل تثبيت الإضافات عبر Group Policy أو قفل التكوين
- مراقبة %TEMP%\sandboxie-updater للتعديلات غير المصرح بها
- تنفيذ مراقبة سلامة الملفات (FIM) على أدلة تجميع الإضافات
- تقييد خدمة Sandboxie للتشغيل تحت حساب منخفض الامتيازات مخصص حيث أمكن
قواعد الكشف:
- تنبيه عند ظهور UpdUtil.exe مع امتيازات SYSTEM
- مراقبة استبدال الملفات في %TEMP%\sandboxie-updater بين التحقق من التجزئة والاستخراج
- تتبع تنفيذ config.exe من مسارات غير قياسية
- تسجيل جميع محاولات تثبيت الإضافات مع التحقق من المصدر