Palo Alto Networks PAN-OS Remote Code Execution Vulnerability — Palo Alto Networks PAN-OS contains multiple, unspecified vulnerabilities which can allow for remote code execution when chained.
CVE-2017-15944 is a critical vulnerability chain in Palo Alto Networks PAN-OS that allows unauthenticated remote code execution by combining multiple vulnerabilities including path traversal, session creation bypass, and command injection in the web management interface. With a CVSS score of 9.0 and publicly available exploits, this vulnerability poses an extreme risk to any organization using Palo Alto firewalls with exposed management interfaces. The vulnerability affects PAN-OS versions prior to 6.1.19, 7.0.19, 7.1.14, and 8.0.6, and has been actively exploited in the wild. Given the widespread deployment of Palo Alto Networks firewalls across Saudi critical infrastructure, immediate patching is essential.
IMMEDIATE ACTIONS:
1. Identify all Palo Alto Networks devices running vulnerable PAN-OS versions (prior to 6.1.19, 7.0.19, 7.1.14, 8.0.6)
2. Restrict management interface access to trusted internal networks only — never expose to the internet
3. Implement IP-based access control lists (ACLs) on the management interface
PATCHING GUIDANCE:
1. Upgrade PAN-OS to version 6.1.19+, 7.0.19+, 7.1.14+, or 8.0.6+ immediately
2. If immediate patching is not possible, disable the web management interface on untrusted zones
3. Schedule emergency maintenance windows for critical infrastructure firewalls
COMPENSATING CONTROLS:
1. Place management interfaces behind a jump server or VPN with MFA
2. Enable logging on all management interface access attempts
3. Deploy IDS/IPS signatures for CVE-2017-15944 exploit patterns
4. Monitor for unauthorized session creation and suspicious cron job modifications
DETECTION RULES:
1. Monitor HTTP requests to /esp/cms_change498.esp and similar paths for path traversal patterns
2. Alert on unexpected process execution from the PAN-OS web server context
3. Check for unauthorized cron entries and new files in /tmp directories
4. Review firewall logs for management interface access from unexpected sources
الإجراءات الفورية:
1. تحديد جميع أجهزة Palo Alto Networks التي تعمل بإصدارات PAN-OS المتأثرة (قبل 6.1.19 و7.0.19 و7.1.14 و8.0.6)
2. تقييد الوصول إلى واجهة الإدارة على الشبكات الداخلية الموثوقة فقط — عدم تعريضها للإنترنت مطلقاً
3. تطبيق قوائم التحكم في الوصول المبنية على عناوين IP على واجهة الإدارة
إرشادات التصحيح:
1. ترقية PAN-OS إلى الإصدار 6.1.19+ أو 7.0.19+ أو 7.1.14+ أو 8.0.6+ فوراً
2. في حالة عدم إمكانية التصحيح الفوري، تعطيل واجهة إدارة الويب على المناطق غير الموثوقة
3. جدولة نوافذ صيانة طارئة لجدران حماية البنية التحتية الحيوية
الضوابط التعويضية:
1. وضع واجهات الإدارة خلف خادم وسيط أو VPN مع مصادقة متعددة العوامل
2. تفعيل التسجيل على جميع محاولات الوصول لواجهة الإدارة
3. نشر توقيعات IDS/IPS لأنماط استغلال CVE-2017-15944
4. مراقبة إنشاء الجلسات غير المصرح بها والتعديلات المشبوهة على مهام cron
قواعد الكشف:
1. مراقبة طلبات HTTP إلى مسارات مشبوهة للكشف عن أنماط اجتياز المسار
2. التنبيه عند تنفيذ عمليات غير متوقعة من سياق خادم الويب PAN-OS
3. التحقق من إدخالات cron غير المصرح بها والملفات الجديدة في أدلة /tmp
4. مراجعة سجلات جدار الحماية للوصول إلى واجهة الإدارة من مصادر غير متوقعة