The Livemesh Addons for Elementor plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 9.0. This is due to insufficient sanitization of the template name parameter in the `lae_get_template_part()` function, which uses an inadequate `str_replace()` approach that can be bypassed using recursive directory traversal patterns. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the attacker to include and execute local files via the widget's template parameter granted they can trick an administrator into performing an action or install Elementor.
CVE-2026-1620 is a Local File Inclusion (LFI) vulnerability in Livemesh Addons for Elementor WordPress plugin affecting all versions up to 9.0. Authenticated attackers with Contributor-level access can bypass insufficient path sanitization using recursive directory traversal to include and execute arbitrary files on the server. With CVSS 8.8 and no patch currently available, this poses significant risk to WordPress installations using this plugin across Saudi organizations.
IMMEDIATE ACTIONS:
1. Audit all WordPress installations to identify if Livemesh Addons for Elementor is installed and active
2. Restrict Contributor-level access: Review user roles and remove unnecessary Contributor permissions; limit to Editor/Admin only
3. Disable the plugin immediately if not critical to operations
COMPENSATING CONTROLS (until patch available):
1. Implement Web Application Firewall (WAF) rules to block directory traversal patterns (../, ..\, recursive patterns)
2. Apply strict file permissions: Set WordPress directories to 755 and files to 644
3. Disable PHP execution in wp-content/uploads and other non-essential directories via .htaccess or nginx configuration
4. Monitor file access logs for suspicious template parameter requests
5. Implement Content Security Policy (CSP) headers to restrict file inclusion sources
DETECTION RULES:
1. Monitor POST/GET requests containing 'lae_get_template_part' with directory traversal patterns (../, encoded variants)
2. Alert on file inclusion attempts targeting sensitive files (/etc/passwd, wp-config.php, .env)
3. Track unexpected PHP execution in upload directories
4. Monitor for unusual file access patterns from web server process
PATCHING GUIDANCE:
1. Monitor Livemesh plugin repository for security updates
2. Subscribe to WordPress security mailing lists
3. When patch is released, test in staging environment before production deployment
4. Consider alternative plugins with better security track records if patch is delayed
الإجراءات الفورية:
1. تدقيق جميع تثبيتات WordPress للتحقق من تثبيت وتفعيل إضافة Livemesh Addons for Elementor
2. تقييد وصول مستوى المساهم: مراجعة أدوار المستخدمين وإزالة أذونات المساهم غير الضرورية؛ تقصير الوصول على المحررين/المسؤولين فقط
3. تعطيل الإضافة فوراً إذا لم تكن حرجة للعمليات
الضوابط التعويضية (حتى توفر التصحيح):
1. تنفيذ قواعد جدار حماية تطبيقات الويب (WAF) لحجب أنماط اجتياز الدليل (../, ..\, الأنماط العودية)
2. تطبيق أذونات ملفات صارمة: تعيين دلائل WordPress إلى 755 والملفات إلى 644
3. تعطيل تنفيذ PHP في wp-content/uploads والدلائل غير الأساسية الأخرى عبر .htaccess أو إعدادات nginx
4. مراقبة سجلات الوصول إلى الملفات للطلبات المريبة لمعاملات القالب
5. تنفيذ رؤوس سياسة أمان المحتوى (CSP) لتقييد مصادر إدراج الملفات
قواعد الكشف:
1. مراقبة طلبات POST/GET التي تحتوي على 'lae_get_template_part' مع أنماط اجتياز الدليل (../, المتغيرات المشفرة)
2. التنبيه على محاولات إدراج الملفات التي تستهدف الملفات الحساسة (/etc/passwd, wp-config.php, .env)
3. تتبع تنفيذ PHP غير المتوقع في دلائل التحميل
4. مراقبة أنماط الوصول إلى الملفات غير العادية من عملية خادم الويب
إرشادات التصحيح:
1. مراقبة مستودع إضافة Livemesh للتحديثات الأمنية
2. الاشتراك في قوائم البريد الأمنية لـ WordPress
3. عند إصدار التصحيح، اختبر في بيئة التدريج قبل نشر الإنتاج
4. فكر في الإضافات البديلة ذات سجلات أمان أفضل إذا تأخر التصحيح