The CMP – Coming Soon & Maintenance Plugin by NiteoThemes plugin for WordPress is vulnerable to arbitrary file upload and remote code execution in all versions up to, and including, 4.1.16 via the `cmp_theme_update_install` AJAX action. This is due to the function only checking for the `publish_pages` capability (available to Editors and above) instead of `manage_options` (Administrators only), combined with a lack of proper validation on the user-supplied file URL and no verification of the downloaded file's content before extraction. This makes it possible for authenticated attackers, with Administrator-level access and above, to force the server to download and extract a malicious ZIP file from a remote attacker-controlled URL into a web-accessible directory (`wp-content/plugins/cmp-premium-themes/`), resulting in remote code execution. Due to the lack of a nonce for Editors, they are unable to exploit this vulnerability.
CVE-2026-6518 affects the CMP – Coming Soon & Maintenance Plugin for WordPress (versions ≤4.1.16), allowing authenticated administrators to upload and execute arbitrary code via the `cmp_theme_update_install` AJAX action. The vulnerability stems from insufficient capability checks and lack of file validation, enabling remote code execution on affected WordPress installations. This poses a critical risk to Saudi organizations using WordPress for web presence, particularly government agencies, financial institutions, and e-commerce platforms.
IMMEDIATE ACTIONS:
1. Audit all WordPress installations using CMP plugin ≤4.1.16 across your organization
2. Disable the CMP plugin immediately: wp-cli plugin deactivate cmp-coming-soon-maintenance
3. Review WordPress admin user accounts and audit recent login activity for unauthorized access
4. Check wp-content/plugins/cmp-premium-themes/ directory for suspicious files (PHP shells, unexpected archives)
5. Review web server access logs (Apache/Nginx) for POST requests to /wp-admin/admin-ajax.php?action=cmp_theme_update_install
PATCHING GUIDANCE:
6. Monitor NiteoThemes repository for security patch release; upgrade immediately when available
7. If patch unavailable, consider removing CMP plugin entirely and using alternative coming-soon solutions (e.g., SeedProd, Elementor Coming Soon)
COMPENSATING CONTROLS (if plugin must remain):
8. Restrict WordPress admin access to specific IP ranges (SAMA/NCA networks)
9. Implement Web Application Firewall (WAF) rules to block cmp_theme_update_install AJAX calls
10. Enable WordPress security plugins (Wordfence, Sucuri) with file integrity monitoring
11. Implement strict file upload restrictions via wp-config.php: define('DISALLOW_FILE_EDIT', true);
12. Use WordPress security headers: X-Content-Type-Options: nosniff, Content-Security-Policy
DETECTION RULES:
13. Monitor for POST requests: /wp-admin/admin-ajax.php?action=cmp_theme_update_install with suspicious URL parameters
14. Alert on any file extraction/unzip operations in wp-content/plugins/cmp-premium-themes/
15. Monitor for new PHP files created in plugin directories with timestamps matching suspicious activity
16. Log all WordPress admin user actions via audit logging plugin
الإجراءات الفورية:
1. تدقيق جميع تثبيتات WordPress التي تستخدم إضافة CMP ≤4.1.16 عبر مؤسستك
2. تعطيل إضافة CMP فوراً: wp-cli plugin deactivate cmp-coming-soon-maintenance
3. مراجعة حسابات مسؤول WordPress وتدقيق نشاط تسجيل الدخول الأخير للوصول غير المصرح
4. التحقق من دليل wp-content/plugins/cmp-premium-themes/ للملفات المريبة (أصداف PHP، أرشيفات غير متوقعة)
5. مراجعة سجلات الوصول لخادم الويب (Apache/Nginx) لطلبات POST إلى /wp-admin/admin-ajax.php?action=cmp_theme_update_install
إرشادات التصحيح:
6. مراقبة مستودع NiteoThemes لإصدار تصحيح أمني؛ قم بالترقية فوراً عند توفره
7. إذا لم يكن التصحيح متاحاً، فكر في إزالة إضافة CMP بالكامل واستخدام حلول بديلة (مثل SeedProd، Elementor Coming Soon)
الضوابط التعويضية (إذا كان يجب أن تبقى الإضافة):
8. تقييد وصول مسؤول WordPress إلى نطاقات IP محددة (شبكات SAMA/NCA)
9. تنفيذ قواعد جدار حماية تطبيقات الويب (WAF) لحظر استدعاءات AJAX cmp_theme_update_install
10. تفعيل إضافات أمان WordPress (Wordfence، Sucuri) مع مراقبة سلامة الملفات
11. تنفيذ قيود صارمة على رفع الملفات عبر wp-config.php: define('DISALLOW_FILE_EDIT', true);
12. استخدام رؤوس أمان WordPress: X-Content-Type-Options: nosniff، Content-Security-Policy
قواعد الكشف:
13. مراقبة طلبات POST: /wp-admin/admin-ajax.php?action=cmp_theme_update_install مع معاملات URL مريبة
14. تنبيه على أي عمليات استخراج/فك ضغط في wp-content/plugins/cmp-premium-themes/
15. مراقبة ملفات PHP الجديدة المنشأة في دلائل الإضافات مع طوابع زمنية تطابق النشاط المريب
16. تسجيل جميع إجراءات مستخدم مسؤول WordPress عبر إضافة تدقيق السجل