The Easy Elements for Elementor – Addons & Website Templates plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.4.5 via the `easyel_handle_register()` function. This is due to the `wp_ajax_nopriv_eel_register` AJAX handler iterating the attacker-controlled `custom_meta` POST array and writing every supplied key-value pair to the newly created user's meta via `update_user_meta()` without any key whitelist or blocklist, allowing the `wp_capabilities` user meta key to be overwritten after `wp_insert_user()` has already assigned a safe role. This makes it possible for unauthenticated attackers to register a new account with full administrator-level privileges by supplying `custom_meta[wp_capabilities][administrator]=1`. Exploitation requires that user registration is enabled on the site and that at least one page exposes the Login/Register widget, which publishes the required `easy_elements_nonce` into the page DOM where it can be retrieved by any unauthenticated visitor via a simple GET request.
The Easy Elements for Elementor plugin (versions ≤1.4.5) contains a critical privilege escalation vulnerability allowing unauthenticated attackers to register new WordPress accounts with full administrator privileges. The vulnerability exploits improper handling of user metadata during registration, bypassing role assignment controls. This poses an immediate threat to any WordPress site using this plugin with user registration enabled.
IMMEDIATE ACTIONS:
1. Disable user registration on all WordPress sites using Easy Elements for Elementor until patching is available
2. If registration must remain enabled, restrict access to Login/Register widgets via IP whitelisting or authentication requirements
3. Audit all user accounts created in the past 30 days for suspicious administrator accounts with creation dates matching potential exploitation windows
4. Review WordPress user meta tables for unauthorized wp_capabilities modifications
PATCHING GUIDANCE:
1. Monitor Easy Elements plugin repository for version 1.4.6+ security patch
2. Immediately update to patched version upon release
3. If no patch available within 7 days, consider disabling the plugin entirely
COMPENSATING CONTROLS:
1. Implement Web Application Firewall (WAF) rules to block POST requests to wp-admin-ajax.php containing 'eel_register' and 'custom_meta[wp_capabilities]' parameters
2. Deploy WordPress security plugin (Wordfence, Sucuri) with real-time malware scanning and login attempt monitoring
3. Implement two-factor authentication (2FA) for all administrator accounts
4. Enable WordPress audit logging to track user creation and role changes
5. Restrict wp-admin access to specific IP ranges (government/corporate networks only)
DETECTION RULES:
1. Monitor WordPress access logs for POST requests to /wp-admin/admin-ajax.php?action=eel_register
2. Alert on any user creation events with wp_capabilities in POST data
3. Flag new administrator accounts created outside normal business processes
4. Monitor wp_usermeta table for unauthorized wp_capabilities modifications
5. Track nonce token exposure in page source (easy_elements_nonce in DOM)
الإجراءات الفورية:
1. تعطيل تسجيل المستخدمين على جميع مواقع WordPress التي تستخدم Easy Elements for Elementor حتى يتوفر التصحيح
2. إذا كان يجب الاحتفاظ بالتسجيل، قيد الوصول إلى عناصر تسجيل الدخول/التسجيل عبر قائمة بيضاء IP أو متطلبات المصادقة
3. تدقيق جميع حسابات المستخدمين التي تم إنشاؤها في آخر 30 يوماً بحثاً عن حسابات مسؤول مريبة
4. مراجعة جداول بيانات وصفات المستخدم في WordPress للتعديلات غير المصرح بها على wp_capabilities
إرشادات التصحيح:
1. مراقبة مستودع مكون Easy Elements للحصول على تصحيح أمان الإصدار 1.4.6+
2. التحديث الفوري إلى الإصدار المصحح عند توفره
3. إذا لم يتوفر تصحيح خلال 7 أيام، فكر في تعطيل المكون بالكامل
عناصر التحكم التعويضية:
1. تنفيذ قواعد جدار حماية تطبيقات الويب (WAF) لحظر طلبات POST التي تحتوي على معاملات 'eel_register' و 'custom_meta[wp_capabilities]'
2. نشر مكون أمان WordPress (Wordfence, Sucuri) مع المسح الفوري للبرامج الضارة
3. تنفيذ المصادقة متعددة العوامل (2FA) لجميع حسابات المسؤول
4. تفعيل تسجيل تدقيق WordPress لتتبع إنشاء المستخدمين وتغييرات الأدوار
5. تقييد الوصول إلى wp-admin لنطاقات IP محددة
قواعد الكشف:
1. مراقبة سجلات الوصول إلى WordPress لطلبات POST إلى /wp-admin/admin-ajax.php?action=eel_register
2. تنبيه عند أي أحداث إنشاء مستخدم تحتوي على wp_capabilities في بيانات POST
3. وضع علامة على حسابات المسؤول الجديدة المنشأة خارج العمليات العادية
4. مراقبة جدول wp_usermeta للتعديلات غير المصرح بها على wp_capabilities
5. تتبع تعريض رمز nonce في مصدر الصفحة