The Jupiter X Core plugin for WordPress is vulnerable to limited file uploads due to missing authorization on import_popup_templates() function as well as insufficient file type validation in the upload_files() function in all versions up to, and including, 4.14.1. This makes it possible for Authenticated attackers with Subscriber-level access and above, to upload files with dangerous types that can lead to Remote Code Execution on servers configured to handle .phar files as executable PHP (e.g., Apache+mod_php), or Stored Cross-Site Scripting via .svg, .dfxp, or .xhtml files upload on any server configuration
Jupiter X Core WordPress plugin versions up to 4.14.1 contain critical file upload vulnerabilities allowing authenticated Subscriber-level users to upload dangerous file types (.phar, .svg, .dfxp, .xhtml) leading to Remote Code Execution or Stored XSS. The vulnerability stems from missing authorization checks and insufficient file type validation in upload functions. With no patch currently available, organizations using this plugin face immediate exploitation risk.
IMMEDIATE ACTIONS:
1. Audit all WordPress installations using Jupiter X Core plugin versions ≤4.14.1
2. Disable the plugin immediately if not critical to operations
3. Restrict file upload functionality to administrators only via WordPress role management
4. Review user access logs for suspicious upload activities, particularly from Subscriber-level accounts
COMPENSATING CONTROLS (until patch available):
1. Implement Web Application Firewall (WAF) rules to block uploads of .phar, .svg, .dfxp, .xhtml file extensions
2. Configure web server (Apache/Nginx) to prevent execution of uploaded files in upload directories via .htaccess or nginx.conf
3. Disable PHP execution in wp-content/uploads directory: Add 'php_flag engine off' in .htaccess
4. Implement strict Content Security Policy (CSP) headers to mitigate XSS impact
5. Enable file type validation at server level using MIME type checking
DETECTION RULES:
1. Monitor WordPress logs for import_popup_templates() and upload_files() function calls from non-admin users
2. Alert on file uploads with extensions: .phar, .svg, .dfxp, .xhtml to wp-content/uploads
3. Monitor for suspicious file access patterns in upload directories
4. Track user role escalation attempts from Subscriber accounts
PATCHING STRATEGY:
1. Monitor Jupiter X plugin repository for security updates
2. Prepare rollback plan before applying any updates
3. Test updates in staging environment before production deployment
4. Consider alternative WordPress themes if Jupiter X updates are delayed beyond 30 days
الإجراءات الفورية:
1. تدقيق جميع تثبيتات WordPress التي تستخدم مكون Jupiter X Core الإصدارات ≤4.14.1
2. تعطيل المكون فوراً إذا لم يكن حرجاً للعمليات
3. تقييد وظيفة تحميل الملفات للمسؤولين فقط عبر إدارة أدوار WordPress
4. مراجعة سجلات الوصول للنشاط المريب، خاصة من حسابات المشترك
الضوابط التعويضية (حتى توفر التصحيح):
1. تطبيق قواعد جدار الحماية (WAF) لحظر تحميل الملفات بامتدادات .phar, .svg, .dfxp, .xhtml
2. تكوين خادم الويب (Apache/Nginx) لمنع تنفيذ الملفات المرفوعة عبر .htaccess أو nginx.conf
3. تعطيل تنفيذ PHP في مجلد wp-content/uploads: أضف 'php_flag engine off' في .htaccess
4. تطبيق رؤوس سياسة أمان المحتوى (CSP) صارمة لتخفيف تأثير XSS
5. تفعيل التحقق من نوع الملف على مستوى الخادم باستخدام فحص نوع MIME
قواعد الكشف:
1. مراقبة سجلات WordPress لاستدعاءات import_popup_templates() و upload_files() من المستخدمين غير الإداريين
2. تنبيهات على تحميل الملفات بامتدادات: .phar, .svg, .dfxp, .xhtml إلى wp-content/uploads
3. مراقبة أنماط الوصول المريبة للملفات في مجلدات التحميل
4. تتبع محاولات ترقية دور المستخدم من حسابات المشترك
استراتيجية التصحيح:
1. مراقبة مستودع مكون Jupiter X للتحديثات الأمنية
2. تحضير خطة التراجع قبل تطبيق أي تحديثات
3. اختبار التحديثات في بيئة التطوير قبل نشرها في الإنتاج
4. النظر في مواضيع WordPress بديلة إذا تأخرت تحديثات Jupiter X أكثر من 30 يوماً