When running in Appliance mode, a directory traversal vulnerability exists in an undisclosed iControl REST endpoint that may allow an authenticated attacker with administrator role privileges to cross a security boundary and delete files. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
A directory traversal vulnerability in iControl REST endpoints allows authenticated administrators to delete arbitrary files when running in Appliance mode. While requiring admin privileges and lacking public exploits, this vulnerability poses a significant risk to F5 BIG-IP deployments common in Saudi critical infrastructure. The absence of available patches necessitates immediate compensating controls and network segmentation.
IMMEDIATE ACTIONS:
1. Inventory all F5 BIG-IP appliances running in Appliance mode across your organization
2. Restrict iControl REST API access to trusted administrative networks only using firewall rules
3. Implement network segmentation to isolate F5 management interfaces from untrusted networks
4. Enable comprehensive audit logging for all iControl REST API calls and file system operations
5. Review administrator account access logs for suspicious activity
PATCHING GUIDANCE:
1. Contact F5 support immediately to determine if your specific version has available patches
2. If patches are available, schedule patching during maintenance windows with change management approval
3. Test patches in non-production environments first
COMPENSATING CONTROLS (if no patch available):
1. Implement Web Application Firewall (WAF) rules to block directory traversal patterns in iControl REST requests
2. Deploy API gateway with request validation to sanitize file path parameters
3. Restrict iControl REST API access to specific IP addresses/subnets
4. Implement role-based access control (RBAC) to minimize administrator accounts
5. Use file integrity monitoring (FIM) to detect unauthorized file deletions
6. Enable read-only mode for critical configuration files where possible
DETECTION RULES:
1. Monitor for iControl REST requests containing path traversal sequences (../, ..\, %2e%2e)
2. Alert on DELETE operations via iControl REST API
3. Track file deletion events in /var, /etc, and other critical directories
4. Monitor for failed authentication attempts followed by successful admin logins
5. Implement SIEM rules to correlate iControl API calls with subsequent file system changes
الإجراءات الفورية:
1. قم بجرد جميع أجهزة F5 BIG-IP التي تعمل في وضع الجهاز عبر مؤسستك
2. قيد وصول واجهة برمجة تطبيقات iControl REST إلى شبكات إدارية موثوقة فقط باستخدام قواعد جدار الحماية
3. تنفيذ تقسيم الشبكة لعزل واجهات إدارة F5 عن الشبكات غير الموثوقة
4. تفعيل تسجيل التدقيق الشامل لجميع استدعاءات واجهة برمجة تطبيقات iControl REST وعمليات نظام الملفات
5. مراجعة سجلات وصول حساب المسؤول للنشاط المريب
إرشادات التصحيح:
1. اتصل بدعم F5 على الفور لتحديد ما إذا كانت نسختك المحددة تحتوي على تصحيحات متاحة
2. إذا كانت التصحيحات متاحة، قم بجدولة التصحيح أثناء نوافذ الصيانة مع موافقة إدارة التغيير
3. اختبر التصحيحات في بيئات غير الإنتاج أولاً
الضوابط التعويضية (إذا لم يكن هناك تصحيح متاح):
1. تنفيذ قواعد جدار تطبيقات الويب (WAF) لحظر أنماط اجتياز الدليل في طلبات iControl REST
2. نشر بوابة API مع التحقق من الطلب لتنظيف معاملات مسار الملف
3. تقييد وصول واجهة برمجة تطبيقات iControl REST إلى عناوين IP/الشبكات المحددة
4. تنفيذ التحكم في الوصول القائم على الأدوار (RBAC) لتقليل حسابات المسؤول
5. استخدام مراقبة سلامة الملفات (FIM) للكشف عن حذف الملفات غير المصرح به
6. تفعيل الوضع المقروء فقط للملفات الإعدادات الحرجة حيث أمكن
قواعد الكشف:
1. مراقبة طلبات iControl REST التي تحتوي على تسلسلات اجتياز المسار (../, ..\, %2e%2e)
2. تنبيه على عمليات DELETE عبر واجهة برمجة تطبيقات iControl REST
3. تتبع أحداث حذف الملفات في /var و /etc والدلائل الحرجة الأخرى
4. مراقبة محاولات المصادقة الفاشلة متبوعة بعمليات تسجيل دخول المسؤول الناجحة
5. تنفيذ قواعل SIEM لربط استدعاءات iControl API مع التغييرات اللاحقة في نظام الملفات