Microsoft Open Management Infrastructure (OMI) Privilege Escalation Vulnerability — Microsoft Open Management Infrastructure (OMI) within Azure VM Management Extensions contains an unspecified vulnerability allowing privilege escalation.
CVE-2021-38649 is a critical privilege escalation vulnerability in Microsoft Open Management Infrastructure (OMI) affecting Azure VM Management Extensions with a CVSS score of 9.0. Exploitation allows attackers to escalate privileges on affected systems, potentially gaining full administrative control. This vulnerability poses significant risk to Saudi organizations utilizing Azure infrastructure and hybrid cloud environments. Immediate patching is essential given the availability of functional exploits.
IMMEDIATE ACTIONS:
1. Identify all Azure VMs with OMI extensions enabled across your infrastructure
2. Prioritize patching of production systems and those handling sensitive data
3. Implement network segmentation to limit lateral movement from compromised VMs
PATCHING GUIDANCE:
1. Apply Microsoft's security update for OMI immediately (KB5004394 or later)
2. Update Azure VM Agent to latest version
3. Verify patch installation: Check OMI version should be 1.6.8-1 or later
4. Test patches in non-production environment first
COMPENSATING CONTROLS (if immediate patching delayed):
1. Restrict local administrative access and implement principle of least privilege
2. Enable Azure Security Center monitoring for privilege escalation attempts
3. Implement Just-In-Time (JIT) VM access controls
4. Monitor OMI process execution and privilege escalation events
DETECTION RULES:
1. Monitor for OMI daemon (omiserver) spawning processes with elevated privileges
2. Alert on unexpected sudo/elevation requests from OMI processes
3. Track changes to OMI configuration files (/etc/opt/omi/conf/)
4. Monitor for OMI authentication bypass attempts in audit logs
الإجراءات الفورية:
1. تحديد جميع أجهزة Azure VMs مع امتدادات OMI المفعلة عبر البنية الأساسية
2. إعطاء الأولوية لتصحيح الأنظمة الإنتاجية والتي تتعامل مع البيانات الحساسة
3. تنفيذ تقسيم الشبكة لتحديد الحركة الجانبية من أجهزة مخترقة
إرشادات التصحيح:
1. تطبيق تحديث الأمان من Microsoft لـ OMI فوراً (KB5004394 أو أحدث)
2. تحديث Azure VM Agent إلى أحدث إصدار
3. التحقق من تثبيت التصحيح: يجب أن يكون إصدار OMI 1.6.8-1 أو أحدث
4. اختبار التصحيحات في بيئة غير إنتاجية أولاً
الضوابط البديلة (إذا تأخر التصحيح الفوري):
1. تقييد الوصول الإداري المحلي وتنفيذ مبدأ أقل امتياز
2. تفعيل مراقبة Azure Security Center لمحاولات رفع الامتيازات
3. تنفيذ عناصر تحكم الوصول Just-In-Time (JIT) للأجهزة الافتراضية
4. مراقبة تنفيذ عمليات OMI وأحداث رفع الامتيازات
قواعد الكشف:
1. مراقبة خادم OMI (omiserver) الذي يولد عمليات بامتيازات مرتفعة
2. التنبيه على طلبات sudo/elevation غير المتوقعة من عمليات OMI
3. تتبع التغييرات في ملفات تكوين OMI (/etc/opt/omi/conf/)
4. مراقبة محاولات تجاوز مصادقة OMI في سجلات التدقيق