A flaw has been found in Totolink CA750-PoE 6.2c.510. This affects the function setWiFiWpsConfig of the file /cgi-bin/cstecgi.cgi of the component Setting Handler. Executing a manipulation of the argument PIN can lead to os command injection. It is possible to launch the attack remotely. The exploit has been published and may be used.
A critical command injection vulnerability exists in Totolik CA750-PoE router firmware version 6.2c.510 affecting the WiFi WPS configuration handler. An unauthenticated remote attacker can inject arbitrary OS commands via the PIN parameter, potentially gaining complete device control. This poses significant risk to Saudi organizations using this router model for network infrastructure.
IMMEDIATE ACTIONS:
1. Identify all Totolik CA750-PoE devices running firmware 6.2c.510 in your network inventory
2. Isolate affected devices from critical network segments if possible
3. Disable WPS functionality immediately via device configuration
4. Restrict administrative access to router management interfaces (limit to specific IPs)
5. Monitor for suspicious access patterns to /cgi-bin/cstecgi.cgi endpoint
DETECTION:
- Monitor for HTTP POST requests to /cgi-bin/cstecgi.cgi with setWiFiWpsConfig parameter
- Alert on PIN parameter values containing shell metacharacters: |, ;, &, $, `, (, ), <, >
- Log all WPS configuration changes and administrative access
COMPENSATING CONTROLS:
- Implement network segmentation isolating router management traffic
- Deploy WAF rules blocking requests with command injection patterns to this endpoint
- Enable router access logs and forward to SIEM for analysis
- Implement network-based IDS/IPS signatures for this vulnerability
PATCHING:
- Contact Totolik support for firmware updates beyond 6.2c.510
- If no patch available, consider device replacement with alternative vendor equipment
- Test any firmware updates in isolated lab environment before production deployment
الإجراءات الفورية:
1. تحديد جميع أجهزة Totolik CA750-PoE التي تعمل بالإصدار 6.2c.510 في جرد الشبكة
2. عزل الأجهزة المتأثرة عن أجزاء الشبكة الحرجة إن أمكن
3. تعطيل وظيفة WPS فوراً عبر إعدادات الجهاز
4. تقييد الوصول الإداري لواجهات إدارة جهاز التوجيه (تحديد عناوين IP محددة)
5. مراقبة أنماط الوصول المريبة إلى نقطة نهاية /cgi-bin/cstecgi.cgi
الكشف:
- مراقبة طلبات HTTP POST إلى /cgi-bin/cstecgi.cgi مع معامل setWiFiWpsConfig
- تنبيه على قيم معامل PIN التي تحتوي على أحرف shell: |، ;، &، $، `، (، )، <، >
- تسجيل جميع تغييرات إعدادات WPS والوصول الإداري
الضوابط البديلة:
- تنفيذ تقسيم الشبكة لعزل حركة إدارة جهاز التوجيه
- نشر قواعد WAF لحجب الطلبات التي تحتوي على أنماط حقن الأوامر
- تفعيل سجلات وصول جهاز التوجيه وإرسالها إلى SIEM
- تنفيذ توقيعات IDS/IPS القائمة على الشبكة لهذه الثغرة
التصحيح:
- الاتصال بدعم Totolik للحصول على تحديثات البرامج الثابتة بعد 6.2c.510
- إذا لم يكن هناك تصحيح متاح، فكر في استبدال الجهاز بمعدات من بائع بديل
- اختبر أي تحديثات برامج ثابتة في بيئة معملية معزولة قبل النشر الإنتاجي