SumatraPDF is a multi-format reader for Windows. In 3.5.2 and earlier, there is a Untrusted Search Path vulnerability when Advanced Options setting is trigger. The application executes notepad.exe without specifying an absolute path when using the Advanced Options setting. On Windows, this allows execution of a malicious notepad.exe placed in the application's installation directory, leading to arbitrary code execution.
SumatraPDF versions 3.5.2 and earlier contain an untrusted search path vulnerability in the Advanced Options feature that allows arbitrary code execution. When Advanced Options is triggered, the application executes notepad.exe without specifying an absolute path, enabling attackers to place a malicious notepad.exe in the installation directory for code execution. With CVSS 8.6 and publicly available exploits, this poses an immediate threat to organizations using SumatraPDF for document processing.
IMMEDIATE ACTIONS:
1. Identify all systems running SumatraPDF 3.5.2 or earlier using asset inventory tools
2. Restrict execution of SumatraPDF in Advanced Options mode until patching is complete
3. Implement application whitelisting to prevent unauthorized notepad.exe execution
PATCHING:
1. Upgrade SumatraPDF to version 3.5.3 or later immediately
2. Verify patch installation by checking application version in Help > About
3. Test patched version in non-production environment before enterprise deployment
COMPENSATING CONTROLS (if immediate patching not possible):
1. Disable Advanced Options feature through group policy or application configuration
2. Restrict write permissions to SumatraPDF installation directory
3. Implement file integrity monitoring on installation directory
4. Use application whitelisting (AppLocker/Windows Defender Application Control) to block unauthorized notepad.exe execution
5. Monitor process creation events for notepad.exe spawned from SumatraPDF directory
DETECTION RULES:
1. Monitor for notepad.exe execution from SumatraPDF installation directory (typically C:\Program Files\SumatraPDF)
2. Alert on file creation of notepad.exe in application directories
3. Track Advanced Options feature usage in application logs
4. Monitor for unsigned or suspicious notepad.exe files in non-standard locations
الإجراءات الفورية:
1. تحديد جميع الأنظمة التي تقوم بتشغيل SumatraPDF 3.5.2 أو أقدم باستخدام أدوات جرد الأصول
2. تقييد تنفيذ SumatraPDF في وضع الخيارات المتقدمة حتى اكتمال التصحيح
3. تطبيق القائمة البيضاء للتطبيقات لمنع تنفيذ notepad.exe غير المصرح به
التصحيح:
1. ترقية SumatraPDF إلى الإصدار 3.5.3 أو أحدث فورًا
2. التحقق من تثبيت التصحيح بفحص إصدار التطبيق في Help > About
3. اختبار الإصدار المصحح في بيئة غير الإنتاج قبل نشر المؤسسة
الضوابط البديلة (إذا لم يكن التصحيح الفوري ممكنًا):
1. تعطيل ميزة الخيارات المتقدمة من خلال سياسة المجموعة أو تكوين التطبيق
2. تقييد أذونات الكتابة في دليل تثبيت SumatraPDF
3. تطبيق مراقبة سلامة الملفات على دليل التثبيت
4. استخدام القائمة البيضاء للتطبيقات (AppLocker/Windows Defender Application Control) لحظر تنفيذ notepad.exe غير المصرح به
5. مراقبة أحداث إنشاء العمليات لـ notepad.exe التي تم إطلاقها من دليل SumatraPDF
قواعد الكشف:
1. مراقبة تنفيذ notepad.exe من دليل تثبيت SumatraPDF (عادةً C:\Program Files\SumatraPDF)
2. تنبيه عند إنشاء ملف notepad.exe في أدلة التطبيقات
3. تتبع استخدام ميزة الخيارات المتقدمة في سجلات التطبيق
4. مراقبة ملفات notepad.exe غير الموقعة أو المريبة في المواقع غير القياسية