A vulnerability was identified in Totolink CA750-PoE 6.2c.510. This affects the function setWebWlanIdx of the file /cgi-bin/cstecgi.cgi of the component Setting Handler. Such manipulation of the argument webWlanIdx leads to os command injection. It is possible to launch the attack remotely. The exploit is publicly available and might be used.
A remote OS command injection vulnerability exists in Totolik CA750-PoE network devices (firmware 6.2c.510) affecting the web interface setting handler. An unauthenticated attacker can inject arbitrary OS commands through the webWlanIdx parameter, potentially gaining full device control. This poses significant risk to Saudi organizations using these devices in network infrastructure, particularly in banking, government, and telecom sectors where network security appliances are critical.
IMMEDIATE ACTIONS:
1. Identify all Totolik CA750-PoE devices in your network using network scanning tools (nmap, Shodan queries for 'Totolik')
2. Isolate affected devices from production networks or restrict access to trusted administrative networks only
3. Disable remote web management access if not critical; restrict to VPN/bastion host access only
4. Change default credentials immediately if not already done
5. Monitor device logs for suspicious webWlanIdx parameter patterns
DETECTION RULES:
- Monitor HTTP POST requests to /cgi-bin/cstecgi.cgi containing 'setWebWlanIdx' parameter
- Alert on webWlanIdx values containing shell metacharacters: |, ;, &, $, `, (, ), <, >, newlines
- Log all access to /cgi-bin/cstecgi.cgi with source IP and user-agent
- IDS signature: Look for patterns like 'webWlanIdx=.*[|;&$`]' in HTTP requests
COMPENSATING CONTROLS:
- Deploy WAF rules to block requests with command injection patterns to this endpoint
- Implement network segmentation: place devices on isolated VLAN with restricted access
- Use firewall rules to limit access to /cgi-bin/cstecgi.cgi to authorized IPs only
- Enable device authentication and implement strong password policies
- Consider replacing with patched firmware version when available or alternative vendors
PATCHING:
- Contact Totolik support for firmware updates beyond 6.2c.510
- Evaluate alternative network devices from vendors with active security support
- Plan device replacement if no patch becomes available within 90 days
الإجراءات الفورية:
1. تحديد جميع أجهزة Totolik CA750-PoE في شبكتك باستخدام أدوات المسح (nmap، استعلامات Shodan)
2. عزل الأجهزة المتأثرة عن شبكات الإنتاج أو تقييد الوصول إلى الشبكات الإدارية الموثوقة فقط
3. تعطيل إدارة الويب عن بعد إذا لم تكن حرجة؛ تقييد الوصول إلى VPN فقط
4. تغيير بيانات الاعتماد الافتراضية فوراً
5. مراقبة سجلات الجهاز للأنماط المريبة في معامل webWlanIdx
قواعد الكشف:
- مراقبة طلبات HTTP POST إلى /cgi-bin/cstecgi.cgi التي تحتوي على معامل 'setWebWlanIdx'
- تنبيه على قيم webWlanIdx التي تحتوي على أحرف shell: |، ;، &، $، `، (، )، <، >
- تسجيل جميع الوصول إلى /cgi-bin/cstecgi.cgi مع عنوان IP ووكيل المستخدم
- توقيع IDS: البحث عن أنماط مثل 'webWlanIdx=.*[|;&$`]' في طلبات HTTP
الضوابط البديلة:
- نشر قواعد WAF لحظر الطلبات التي تحتوي على أنماط حقن الأوامر
- تنفيذ تقسيم الشبكة: وضع الأجهزة على VLAN معزول مع وصول مقيد
- استخدام قواعد جدار الحماية لتقييد الوصول إلى /cgi-bin/cstecgi.cgi على عناوين IP مصرح بها فقط
- تفعيل مصادقة الجهاز وتنفيذ سياسات كلمات مرور قوية
- النظر في استبدال البرنامج الثابت المصحح أو الأجهزة البديلة