A vulnerability has been found in D-Link DIR-605L 2.13B01. This affects the function formAdvFirewall of the file /goform/formAdvFirewall of the component POST Request Handler. Such manipulation of the argument curTime leads to buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. This vulnerability only affects products that are no longer supported by the maintainer.
A critical buffer overflow vulnerability exists in D-Link DIR-605L router firmware version 2.13B01 affecting the advanced firewall configuration function. The vulnerability can be exploited remotely through POST requests with malicious curTime parameters, potentially allowing unauthorized code execution. Since this product is end-of-life with no patch available, organizations must implement immediate compensating controls or device replacement.
IMMEDIATE ACTIONS:
1. Inventory all D-Link DIR-605L devices across your organization and document their network criticality
2. Isolate affected routers from internet-facing positions immediately
3. Implement network segmentation to restrict access to the /goform/formAdvFirewall endpoint
4. Enable firewall rules to block POST requests to /goform/formAdvFirewall from untrusted sources
5. Monitor for suspicious POST requests with curTime parameters in firewall logs
COMPENSATING CONTROLS:
6. Deploy a Web Application Firewall (WAF) or IPS in front of affected devices to filter malicious POST requests
7. Implement strict input validation at network perimeter for any traffic destined to these devices
8. Restrict administrative access to these routers to specific trusted IP addresses only
9. Disable remote management features if not absolutely required
10. Enable detailed logging and alerting for all access attempts to the device
LONG-TERM REMEDIATION:
11. Develop a device replacement plan with timeline for upgrading to supported D-Link firmware versions or alternative vendors
12. Prioritize replacement for devices in critical network paths or handling sensitive data
13. For interim period, consider replacing with managed switches or modern routers with active vendor support
DETECTION RULES:
- Alert on POST requests to /goform/formAdvFirewall with curTime parameter containing special characters or exceeding normal length
- Monitor for multiple failed authentication attempts followed by POST requests to firewall configuration endpoints
- Track any firmware modification attempts or unexpected device reboots
الإجراءات الفورية:
1. قم بحصر جميع أجهزة D-Link DIR-605L في مؤسستك وتوثيق أهميتها في الشبكة
2. عزل الأجهزة المتأثرة عن المواضع المواجهة للإنترنت فوراً
3. تطبيق تقسيم الشبكة لتقييد الوصول إلى نقطة نهاية /goform/formAdvFirewall
4. تفعيل قواعد جدار الحماية لحظر طلبات POST إلى /goform/formAdvFirewall من مصادر غير موثوقة
5. مراقبة طلبات POST المريبة بمعاملات curTime في سجلات جدار الحماية
الضوابط التعويضية:
6. نشر جدار حماية تطبيقات الويب (WAF) أو نظام منع الاختراق أمام الأجهزة المتأثرة
7. تطبيق التحقق الصارم من المدخلات على محيط الشبكة لأي حركة مرور موجهة لهذه الأجهزة
8. تقييد الوصول الإداري لهذه الأجهزة إلى عناوين IP موثوقة محددة فقط
9. تعطيل ميزات الإدارة البعيدة إذا لم تكن مطلوبة بشكل مطلق
10. تفعيل السجلات التفصيلية والتنبيهات لجميع محاولات الوصول إلى الجهاز
العلاج طويل الأجل:
11. وضع خطة استبدال الأجهزة مع جدول زمني لترقية إصدارات D-Link المدعومة أو البدائل
12. إعطاء الأولوية لاستبدال الأجهزة في مسارات الشبكة الحرجة أو التي تتعامل مع بيانات حساسة
13. للفترة الانتقالية، يمكن استبدالها بمحاولات مُدارة أو أجهزة توجيه حديثة مع دعم البائع النشط
قواعد الكشف:
- تنبيه على طلبات POST إلى /goform/formAdvFirewall بمعامل curTime يحتوي على أحرف خاصة أو يتجاوز الطول الطبيعي
- مراقبة محاولات المصادقة الفاشلة المتعددة متبوعة بطلبات POST إلى نقاط نهاية إعدادات جدار الحماية
- تتبع أي محاولات تعديل البرنامج الثابت أو إعادة تشغيل الجهاز غير المتوقعة