Fortinet FortiOS and FortiProxy Improper Authorization — An Improper Authorization vulnerability in Fortinet FortiOS and FortiProxy under SSL VPN web portal allows an unauthenticated attacker to modify the password.
CVE-2018-13382 is a critical Improper Authorization vulnerability in Fortinet FortiOS and FortiProxy SSL VPN web portal that allows an unauthenticated remote attacker to change user passwords via specially crafted HTTP requests. This vulnerability has a CVSS score of 9.0 and active exploits are publicly available, making it extremely dangerous. It is often chained with CVE-2018-13379 for full remote code execution. Given the widespread deployment of Fortinet devices across Saudi Arabia, this vulnerability poses an immediate and severe threat to organizations that have not yet patched.
IMMEDIATE ACTIONS:
1. Identify all Fortinet FortiOS and FortiProxy devices with SSL VPN web portal enabled across your environment
2. Check if your FortiOS version is vulnerable (affected: 6.0.0-6.0.4, 5.6.0-5.6.8, 5.4.1-5.4.10, 5.2.x)
3. If patching cannot be done immediately, disable the SSL VPN web portal feature as a temporary mitigation
PATCHING GUIDANCE:
1. Upgrade FortiOS to 5.4.11+, 5.6.9+, 6.0.5+, or 6.2.0+ immediately
2. Upgrade FortiProxy to patched versions as per Fortinet advisory FG-IR-18-389
3. After patching, force password resets for ALL SSL VPN users as passwords may have already been compromised
COMPENSATING CONTROLS:
1. Implement multi-factor authentication (MFA) for all SSL VPN connections
2. Restrict SSL VPN access to known IP ranges using geo-blocking and ACLs
3. Monitor authentication logs for suspicious password change events
4. Review VPN access logs for unauthorized logins from unusual locations
DETECTION RULES:
1. Monitor HTTP requests to the SSL VPN portal containing 'magic' parameter in POST requests
2. Alert on password change events without corresponding user-initiated requests
3. Deploy IDS/IPS signatures for CVE-2018-13382 exploitation attempts
4. Monitor for Fortinet-specific IOCs associated with known exploitation campaigns
الإجراءات الفورية:
1. تحديد جميع أجهزة Fortinet FortiOS و FortiProxy التي تعمل عليها بوابة SSL VPN في بيئتكم
2. التحقق مما إذا كان إصدار FortiOS لديكم معرضاً للثغرة (الإصدارات المتأثرة: 6.0.0-6.0.4، 5.6.0-5.6.8، 5.4.1-5.4.10، 5.2.x)
3. في حال عدم إمكانية التحديث فوراً، قم بتعطيل ميزة بوابة SSL VPN كإجراء مؤقت
إرشادات التحديث:
1. ترقية FortiOS إلى الإصدار 5.4.11+ أو 5.6.9+ أو 6.0.5+ أو 6.2.0+ فوراً
2. ترقية FortiProxy إلى الإصدارات المصححة وفقاً لنشرة Fortinet FG-IR-18-389
3. بعد التحديث، فرض إعادة تعيين كلمات المرور لجميع مستخدمي SSL VPN حيث قد تكون كلمات المرور قد تم اختراقها بالفعل
الضوابط التعويضية:
1. تطبيق المصادقة متعددة العوامل (MFA) لجميع اتصالات SSL VPN
2. تقييد الوصول إلى SSL VPN للنطاقات المعروفة باستخدام حظر جغرافي وقوائم التحكم
3. مراقبة سجلات المصادقة للكشف عن أحداث تغيير كلمات المرور المشبوهة
4. مراجعة سجلات الوصول عبر VPN للكشف عن عمليات تسجيل دخول غير مصرح بها
قواعد الكشف:
1. مراقبة طلبات HTTP لبوابة SSL VPN التي تحتوي على معامل 'magic' في طلبات POST
2. التنبيه على أحداث تغيير كلمات المرور بدون طلبات مقابلة من المستخدم
3. نشر توقيعات IDS/IPS لمحاولات استغلال CVE-2018-13382
4. مراقبة مؤشرات الاختراق المرتبطة بحملات الاستغلال المعروفة