The Advanced Members for ACF plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the create_crop function in all versions up to, and including, 1.2.5. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). The vulnerability was partially patched in version 1.2.5.
CVE-2026-3243 is a critical arbitrary file deletion vulnerability in the Advanced Members for ACF WordPress plugin affecting versions up to 1.2.5. Authenticated attackers with Subscriber-level privileges can delete arbitrary files on the server, potentially leading to remote code execution by deleting critical files like wp-config.php. The partial patch in version 1.2.5 does not fully resolve the issue, requiring immediate mitigation despite no complete patch availability.
IMMEDIATE ACTIONS:
1. Audit all WordPress installations for Advanced Members for ACF plugin presence and version
2. Disable the plugin immediately if version 1.2.5 or earlier is detected
3. Review access logs for suspicious file deletion activities, particularly targeting wp-config.php, .htaccess, and index.php
4. Implement Web Application Firewall (WAF) rules to block POST requests to the create_crop function
PATCHING GUIDANCE:
1. Do NOT upgrade to version 1.2.5 as it only partially addresses the vulnerability
2. Monitor the plugin repository for a complete patch (version 1.2.6 or later)
3. Until a complete patch is available, uninstall the plugin entirely
COMPENSATING CONTROLS:
1. Implement strict file permission controls: set wp-config.php to 400 (read-only for owner)
2. Enable WordPress security hardening: remove wp-config.php from web root if possible
3. Implement database user separation with minimal required privileges
4. Deploy file integrity monitoring (FIM) to alert on unauthorized deletions
5. Restrict Subscriber-level user creation and audit existing Subscriber accounts
6. Implement request rate limiting on WordPress admin and plugin endpoints
DETECTION RULES:
1. Monitor for POST requests to /wp-admin/admin-ajax.php with action=create_crop
2. Alert on file deletion events targeting wp-config.php, .htaccess, wp-settings.php
3. Monitor for unusual file system changes by www-data/apache user
4. Track failed WordPress authentication attempts followed by file operations
5. Log all Subscriber-level user activities, especially file uploads/modifications
الإجراءات الفورية:
1. تدقيق جميع تثبيتات WordPress للتحقق من وجود مكون Advanced Members for ACF والإصدار
2. تعطيل المكون فورًا إذا تم اكتشاف الإصدار 1.2.5 أو أقدم
3. مراجعة سجلات الوصول للأنشطة المريبة لحذف الملفات، خاصة wp-config.php و .htaccess و index.php
4. تنفيذ قواعد جدار حماية تطبيقات الويب (WAF) لحجب طلبات POST إلى دالة create_crop
إرشادات التصحيح:
1. عدم الترقية إلى الإصدار 1.2.5 لأنه يعالج الثغرة جزئيًا فقط
2. مراقبة مستودع المكون للحصول على إصلاح كامل (الإصدار 1.2.6 أو أحدث)
3. حتى توفر إصلاح كامل، قم بإلغاء تثبيت المكون بالكامل
الضوابط البديلة:
1. تنفيذ ضوابط صارمة لأذونات الملفات: تعيين wp-config.php إلى 400 (قراءة فقط للمالك)
2. تفعيل تقسية أمان WordPress: نقل wp-config.php خارج جذر الويب إن أمكن
3. تنفيذ فصل مستخدمي قاعدة البيانات بأقل صلاحيات مطلوبة
4. نشر مراقبة سلامة الملفات (FIM) للتنبيه على الحذف غير المصرح به
5. تقييد إنشاء حسابات مستوى المشترك ومراجعة حسابات المشترك الموجودة
6. تنفيذ تحديد معدل الطلبات على نقاط نهاية WordPress والمكونات الإضافية
قواعد الكشف:
1. مراقبة طلبات POST إلى /wp-admin/admin-ajax.php مع action=create_crop
2. التنبيه على أحداث حذف الملفات التي تستهدف wp-config.php و .htaccess و wp-settings.php
3. مراقبة التغييرات غير العادية في نظام الملفات بواسطة مستخدم www-data/apache
4. تتبع محاولات المصادقة الفاشلة في WordPress متبوعة بعمليات الملفات
5. تسجيل جميع أنشطة مستخدمي مستوى المشترك، خاصة تحميلات/تعديلات الملفات