Shrew Soft VPN Client 2.2.2 contains an unquoted service path vulnerability that allows local users to execute arbitrary code with elevated system privileges. Attackers can place malicious executables in the unquoted service path to gain elevated access during service startup or system reboot.
CVE-2019-25283 is a privilege escalation vulnerability in Shrew Soft VPN Client 2.2.2 exploiting unquoted service paths, allowing local attackers to execute arbitrary code with SYSTEM privileges. This vulnerability poses significant risk to organizations using Shrew Soft VPN for remote access, particularly in Saudi government and financial sectors. While no public exploit is available, the vulnerability is trivial to exploit and requires only local access, making it a critical concern for endpoint security.
IMMEDIATE ACTIONS:
1. Identify all systems running Shrew Soft VPN Client 2.2.2 using endpoint detection tools and asset inventory systems
2. Restrict local administrative access and implement principle of least privilege
3. Apply file integrity monitoring to service executable paths
PATCHING GUIDANCE:
1. Upgrade Shrew Soft VPN Client to version 2.2.3 or later immediately
2. Verify patch installation by checking service path configuration in Windows Registry (HKLM\SYSTEM\CurrentControlSet\Services)
3. Restart affected systems to ensure patched service is loaded
COMPENSATING CONTROLS (if immediate patching not possible):
1. Implement AppLocker or Windows Defender Application Control to restrict executable execution in service paths
2. Enable Windows Audit Policy for service creation and modification events
3. Deploy endpoint detection and response (EDR) solutions with privilege escalation detection
4. Restrict write permissions on service installation directories
DETECTION RULES:
1. Monitor Windows Event ID 4697 (Service installed) for suspicious service paths
2. Alert on file creation/modification in Program Files directories by non-system accounts
3. Monitor process creation with SYSTEM privileges from unexpected parent processes
4. Track registry modifications to HKLM\SYSTEM\CurrentControlSet\Services
الإجراءات الفورية:
1. تحديد جميع الأنظمة التي تقوم بتشغيل عميل Shrew Soft VPN الإصدار 2.2.2 باستخدام أدوات كشف نقاط النهاية
2. تقييد الوصول الإداري المحلي وتطبيق مبدأ الامتياز الأدنى
3. تطبيق مراقبة سلامة الملفات على مسارات الخدمات
إرشادات التصحيح:
1. ترقية عميل Shrew Soft VPN إلى الإصدار 2.2.3 أو أحدث فوراً
2. التحقق من تثبيت التصحيح بفحص تكوين مسار الخدمة في سجل Windows
3. إعادة تشغيل الأنظمة المتأثرة لضمان تحميل الخدمة المصححة
الضوابط البديلة:
1. تطبيق AppLocker أو Windows Defender Application Control لتقييد تنفيذ الملفات
2. تفعيل سياسة تدقيق Windows لأحداث إنشاء وتعديل الخدمات
3. نشر حلول كشف الاستجابة على نقاط النهاية (EDR)
4. تقييد أذونات الكتابة على مجلدات تثبيت الخدمات
قواعد الكشف:
1. مراقبة معرف حدث Windows 4697 للخدمات المريبة
2. التنبيه على إنشاء/تعديل الملفات في مجلدات Program Files
3. مراقبة إنشاء العمليات بامتيازات SYSTEM من عمليات أب غير متوقعة
4. تتبع تعديلات السجل على خدمات Windows