IINA before 1.4.3 contains a user-assisted command execution vulnerability that allows remote attackers to execute arbitrary commands by supplying malicious mpv_-prefixed query parameters through the iina://open custom URL scheme handler. Attackers can deliver a crafted URL via a browser that passes unvalidated mpv_options/input-commands parameters into the mpv runtime, causing arbitrary command execution as the current macOS user upon approval of the browser protocol prompt without requiring a valid media file.
IINA media player versions before 1.4.3 contain a critical command execution vulnerability through malicious URL scheme handlers. Attackers can craft URLs with mpv_-prefixed parameters that bypass validation and execute arbitrary commands on macOS systems when users approve browser protocol prompts. This vulnerability requires user interaction but poses significant risk to organizations using IINA for media playback.
Immediate Actions:
1. Identify all macOS systems with IINA installed using endpoint management tools
2. Disable IINA URL scheme handler support in browser settings until patching is available
3. Implement browser-level restrictions on iina:// protocol handling
4. Educate users to avoid clicking media links from untrusted sources
Patching Guidance:
1. Upgrade IINA to version 1.4.3 or later when available
2. Monitor IINA GitHub releases and security advisories for patch availability
3. Test patches in non-production environments before deployment
Compensating Controls:
1. Implement application whitelisting to restrict IINA execution
2. Use macOS Gatekeeper and notarization verification
3. Deploy endpoint detection and response (EDR) solutions to monitor process execution from IINA
4. Implement network segmentation to limit lateral movement if compromise occurs
5. Monitor system logs for suspicious mpv process spawning with unusual parameters
Detection Rules:
1. Alert on iina:// URL scheme invocations with mpv_ parameters
2. Monitor for mpv process execution with command-line arguments containing shell metacharacters
3. Track IINA process spawning child processes (cmd.exe, bash, sh, zsh)
4. Log all browser protocol handler approvals for iina:// scheme
الإجراءات الفورية:
1. تحديد جميع أنظمة macOS المثبت عليها IINA باستخدام أدوات إدارة نقاط النهاية
2. تعطيل دعم معالج مخطط URL الخاص بـ IINA في إعدادات المتصفح حتى يتوفر التصحيح
3. تنفيذ قيود على مستوى المتصفح على معالجة بروتوكول iina://
4. تثقيف المستخدمين لتجنب النقر على روابط الوسائط من مصادر غير موثوقة
إرشادات التصحيح:
1. ترقية IINA إلى الإصدار 1.4.3 أو أحدث عند توفره
2. مراقبة إصدارات IINA GitHub والتنبيهات الأمنية لتوفر التصحيح
3. اختبار التصحيحات في بيئات غير الإنتاج قبل النشر
الضوابط البديلة:
1. تنفيذ قائمة بيضاء للتطبيقات لتقييد تنفيذ IINA
2. استخدام التحقق من Gatekeeper والتصديق على macOS
3. نشر حلول الكشف والاستجابة على نقاط النهاية (EDR) لمراقبة تنفيذ العمليات من IINA
4. تنفيذ تقسيم الشبكة لتحديد الحركة الجانبية في حالة الاختراق
5. مراقبة سجلات النظام للعمليات المريبة لـ mpv مع معاملات غير عادية
قواعد الكشف:
1. التنبيه على استدعاءات مخطط URL iina:// مع معاملات mpv_
2. مراقبة تنفيذ عملية mpv مع معاملات سطر الأوامر تحتوي على أحرف metacharacters
3. تتبع عملية IINA التي تولد عمليات فرعية (cmd.exe, bash, sh, zsh)
4. تسجيل جميع موافقات معالج بروتوكول المتصفح لمخطط iina://