Tabby (formerly Terminus) is a highly configurable terminal emulator. Prior to 1.0.233, Tabby registers itself as the handler for the tabby:// URL scheme on all platforms. The URL scheme handler supports a run command that directly executes OS commands with no user confirmation, sanitization, or sandboxing. An attacker can craft a malicious link (tabby://run?command=...) and deliver it via a website, email, chat message, or any other medium. When a victim clicks the link, the OS launches Tabby which immediately spawns the specified command as a child process with the user's full privileges. This is a zero-click-after-link-visit RCE vulnerability. This vulnerability is fixed in 1.0.233.
Tabby terminal emulator versions prior to 1.0.233 contain a critical remote code execution vulnerability through the tabby:// URL scheme handler. The vulnerability allows unauthenticated attackers to execute arbitrary OS commands with user privileges by crafting malicious links, requiring only that a victim clicks the link. This represents a severe risk for organizations where developers and system administrators use Tabby, as exploitation requires minimal attacker effort and no user interaction beyond clicking a link.
IMMEDIATE ACTIONS:
1. Identify all systems running Tabby versions prior to 1.0.233 using asset inventory and endpoint detection tools
2. Disable or remove Tabby from systems where feasible, or restrict user access to trusted networks only
3. Alert users not to click on tabby:// links from untrusted sources
4. Monitor email gateways and web proxies for tabby:// URL patterns
PATCHING GUIDANCE:
1. Upgrade Tabby to version 1.0.233 or later immediately on all affected systems
2. Verify patch installation by checking application version in Tabby settings
3. Restart all instances of Tabby after patching
COMPENSATING CONTROLS (if immediate patching not possible):
1. Unregister tabby:// URL scheme handler: Remove registry entries (Windows) or plist entries (macOS) or desktop files (Linux) associated with Tabby URL handling
2. Implement application whitelisting to prevent Tabby execution
3. Use endpoint protection to block execution of Tabby with URL scheme parameters
4. Restrict Tabby to air-gapped or isolated networks
DETECTION RULES:
1. Monitor for process creation with parent process being browser or email client and child process being Tabby
2. Alert on any Tabby process spawning child processes with suspicious command-line arguments
3. Log and alert on tabby:// URL access attempts in proxy/firewall logs
4. Monitor registry/file system for tabby:// URL scheme handler registration changes
الإجراءات الفورية:
1. تحديد جميع الأنظمة التي تقوم بتشغيل إصدارات Tabby السابقة للإصدار 1.0.233 باستخدام أدوات جرد الأصول والكشف عن نقاط النهاية
2. تعطيل أو إزالة Tabby من الأنظمة حيث يكون ذلك ممكناً، أو تقييد وصول المستخدم إلى الشبكات الموثوقة فقط
3. تنبيه المستخدمين بعدم النقر على روابط tabby:// من مصادر غير موثوقة
4. مراقبة بوابات البريد الإلكتروني والوكلاء على الويب للبحث عن أنماط URL tabby://
إرشادات التصحيح:
1. ترقية Tabby إلى الإصدار 1.0.233 أو أحدث فوراً على جميع الأنظمة المتأثرة
2. التحقق من تثبيت التصحيح بالتحقق من إصدار التطبيق في إعدادات Tabby
3. إعادة تشغيل جميع مثيلات Tabby بعد التصحيح
الضوابط البديلة (إذا لم يكن التصحيح الفوري ممكناً):
1. إلغاء تسجيل معالج مخطط URL tabby://: إزالة إدخالات السجل (Windows) أو إدخالات plist (macOS) أو ملفات سطح المكتب (Linux) المرتبطة بمعالجة URL Tabby
2. تنفيذ قائمة بيضاء للتطبيقات لمنع تنفيذ Tabby
3. استخدام الحماية من نقاط النهاية لحظر تنفيذ Tabby مع معاملات مخطط URL
4. تقييد Tabby على الشبكات المعزولة أو المنفصلة
قواعد الكشف:
1. مراقبة إنشاء العملية مع كون العملية الأب متصفح الويب أو عميل البريد الإلكتروني والعملية الفرعية هي Tabby
2. التنبيه على أي عملية Tabby تولد عمليات فرعية بمعاملات سطر أوامر مريبة
3. تسجيل والتنبيه على محاولات الوصول إلى URL tabby:// في سجلات الوكيل/جدار الحماية
4. مراقبة السجل/نظام الملفات لتغييرات تسجيل معالج مخطط URL tabby://