A flaw has been found in Linksys MR9600 2.0.6.206937. Affected is the function smartConnectConfigure of the file SmartConnect.lua. Executing a manipulation of the argument configApSsid/configApPassphrase/srpLogin/srpPassword can lead to os command injection. The attack may be launched remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A critical command injection vulnerability exists in Linksys MR9600 router firmware version 2.0.6.206937 affecting the SmartConnect configuration function. Attackers can remotely execute arbitrary OS commands by manipulating configuration parameters, with no patch currently available from the vendor. This poses significant risk to Saudi organizations relying on these routers for network infrastructure and remote access.
IMMEDIATE ACTIONS:
1. Identify all Linksys MR9600 devices running firmware 2.0.6.206937 in your network using asset inventory tools
2. Isolate affected routers from critical network segments if possible, or implement network segmentation
3. Disable remote management features (SSH, HTTP/HTTPS admin access) and restrict to local network only
4. Change all default and configured credentials (configApSsid, configApPassphrase, srpLogin, srpPassword) to complex values
5. Monitor router logs for suspicious SmartConnect configuration attempts
COMPENSATING CONTROLS:
6. Implement Web Application Firewall (WAF) rules to block SmartConnect.lua requests with suspicious parameter values
7. Deploy network-based IDS/IPS signatures detecting command injection patterns in router configuration traffic
8. Restrict administrative access via firewall rules to authorized IP ranges only
9. Enable router logging and forward logs to SIEM for real-time alerting
10. Implement network segmentation to limit router compromise blast radius
DETECTION RULES:
- Monitor for HTTP POST requests to SmartConnect.lua containing shell metacharacters (;|&$`\n) in configApSsid, configApPassphrase, srpLogin, srpPassword parameters
- Alert on unexpected process execution from router web service processes
- Track failed authentication attempts followed by configuration changes
- Monitor outbound connections from router to external IP addresses
LONG-TERM:
11. Contact Linksys support for firmware update timeline; consider alternative router vendors if no patch timeline provided
12. Evaluate firmware downgrade options to earlier versions if available and tested
13. Plan router replacement with patched firmware versions once available
الإجراءات الفورية:
1. تحديد جميع أجهزة Linksys MR9600 التي تعمل بالإصدار 2.0.6.206937 في شبكتك باستخدام أدوات جرد الأصول
2. عزل الأجهزة المتأثرة عن قطاعات الشبكة الحرجة إن أمكن، أو تطبيق تقسيم الشبكة
3. تعطيل ميزات الإدارة عن بعد (SSH، وصول HTTP/HTTPS للمسؤول) وتقييد الوصول للشبكة المحلية فقط
4. تغيير جميع بيانات الاعتماد الافتراضية والمكونة (configApSsid، configApPassphrase، srpLogin، srpPassword) إلى قيم معقدة
5. مراقبة سجلات الجهاز للكشف عن محاولات تكوين SmartConnect المريبة
الضوابط البديلة:
6. تطبيق قواعد جدار حماية تطبيقات الويب (WAF) لحجب طلبات SmartConnect.lua ذات قيم المعاملات المريبة
7. نشر توقيعات IDS/IPS على مستوى الشبكة للكشف عن أنماط حقن الأوامر في حركة تكوين الجهاز
8. تقييد الوصول الإداري عبر قواعس جدار الحماية إلى نطاقات IP المصرح بها فقط
9. تفعيل تسجيل الجهاز وإعادة توجيه السجلات إلى SIEM للتنبيهات في الوقت الفعلي
10. تطبيق تقسيم الشبكة لتحديد نطاق تأثير اختراق الجهاز
قواعد الكشف:
- مراقبة طلبات HTTP POST إلى SmartConnect.lua التي تحتوي على أحرف shell metacharacters (;|&$`\n) في معاملات configApSsid، configApPassphrase، srpLogin، srpPassword
- التنبيه على تنفيذ العمليات غير المتوقعة من عمليات خدمة الويب للجهاز
- تتبع محاولات المصادقة الفاشلة متبوعة بتغييرات التكوين
- مراقبة الاتصالات الصادرة من الجهاز إلى عناوين IP خارجية
المدى الطويل:
11. الاتصال بدعم Linksys للحصول على جدول زمني لتحديث البرنامج الثابت؛ النظر في بدائل أجهزة التوجيه إذا لم يتم توفير جدول زمني
12. تقييم خيارات الرجوع إلى إصدارات سابقة من البرنامج الثابت إن توفرت واختبرت
13. التخطيط لاستبدال الجهاز بإصدارات برنامج ثابت معدلة بمجرد توفرها