VMware vCenter Server Improper Input Validation Vulnerability — VMware vSphere Client contains an improper input validation vulnerability in the Virtual SAN Health Check plug-in, which is enabled by default in vCenter Server, which allows for remote code execution.
CVE-2021-21985 is a critical remote code execution vulnerability in VMware vCenter Server's Virtual SAN Health Check plug-in affecting versions prior to 6.7 U3l, 7.0 U1c, and 7.0 U2. With a CVSS score of 9.0 and publicly available exploits, this vulnerability poses an immediate threat to Saudi organizations relying on VMware infrastructure. Unauthenticated attackers can execute arbitrary code with system privileges, potentially compromising entire virtualized environments.
IMMEDIATE ACTIONS:
1. Identify all VMware vCenter Server instances in your environment and document versions
2. Disable the Virtual SAN Health Check plug-in immediately if not required: SSH into vCenter, run 'vpxd_servicecfg service management stop' and disable the plugin via vSphere Client
3. Implement network segmentation to restrict vCenter Server access to authorized administrators only
4. Enable vCenter Server audit logging and monitor for suspicious activities
PATCHING GUIDANCE:
1. Apply security patches immediately: vCenter 6.7 U3l or later, 7.0 U1c or later, 7.0 U2 or later
2. Test patches in non-production environment first
3. Schedule maintenance windows for patching (typically 2-4 hours per instance)
4. Verify patch application: Check version in vSphere Client Administration > System Configuration > Version
COMPENSATING CONTROLS (if patching delayed):
1. Restrict network access to vCenter Server ports (443, 902) to trusted IP ranges only
2. Implement Web Application Firewall (WAF) rules to block malicious payloads targeting the Virtual SAN Health Check endpoint
3. Deploy intrusion detection signatures for CVE-2021-21985 exploitation attempts
4. Increase monitoring frequency for vCenter Server processes and network connections
DETECTION RULES:
1. Monitor HTTP POST requests to '/ui/h5-vsan/rest/disks/getPhysicalDisks' endpoint
2. Alert on vCenter process spawning unexpected child processes (cmd.exe, powershell.exe)
3. Track failed and successful authentication attempts to vCenter
4. Monitor for unusual outbound connections from vCenter Server
5. Log all Virtual SAN Health Check plug-in activities
الإجراءات الفورية:
1. حدد جميع نسخ VMware vCenter Server في بيئتك وتوثيق الإصدارات
2. عطّل مكون Virtual SAN Health Check فوراً إذا لم يكن مطلوباً: قم بتسجيل الدخول عبر SSH إلى vCenter وقم بتشغيل أمر إيقاف الخدمة وتعطيل المكون
3. طبّق تقسيم الشبكة لتقييد الوصول إلى vCenter Server للمسؤولين المصرحين فقط
4. فعّل تسجيل التدقيق في vCenter Server ومراقبة الأنشطة المريبة
إرشادات التصحيح:
1. طبّق تحديثات الأمان فوراً: vCenter 6.7 U3l أو أحدث، 7.0 U1c أو أحدث، 7.0 U2 أو أحدث
2. اختبر التحديثات في بيئة غير الإنتاج أولاً
3. جدول نوافذ الصيانة لتطبيق التصحيحات (عادة 2-4 ساعات لكل نسخة)
4. تحقق من تطبيق التصحيح: تحقق من الإصدار في vSphere Client
الضوابط البديلة (إذا تأخر التصحيح):
1. قيّد الوصول إلى منافذ vCenter Server (443، 902) إلى نطاقات IP موثوقة فقط
2. طبّق قواعد جدار حماية تطبيقات الويب لحجب الحمولات الضارة
3. نشّر توقيعات كشف الاختراق لمحاولات استغلال CVE-2021-21985
4. زد تكرار المراقبة لعمليات vCenter Server والاتصالات الشبكية
قواعد الكشف:
1. راقب طلبات HTTP POST إلى نقطة نهاية Virtual SAN Health Check
2. أصدر تنبيهات عند توليد عمليات vCenter لعمليات فرعية غير متوقعة
3. تتبع محاولات المصادقة الفاشلة والناجحة على vCenter
4. راقب الاتصالات الخارجية غير العادية من vCenter Server