The Career Section plugin for WordPress is vulnerable to Cross-Site Request Forgery leading to Path Traversal and Arbitrary File Deletion in all versions up to, and including, 1.6. This is due to missing nonce validation and insufficient file path validation on the delete action in the 'appform_options_page_html' function. This makes it possible for unauthenticated attackers to delete arbitrary files on the server via a forged request, granted they can trick a site administrator into performing an action such as clicking on a link.
The Career Section WordPress plugin (versions ≤1.6) contains a critical CSRF vulnerability combined with path traversal that allows unauthenticated attackers to delete arbitrary files on affected servers. Exploitation requires tricking an administrator into clicking a malicious link, but no patch is currently available. This poses significant risk to Saudi organizations using WordPress for recruitment and HR management systems.
IMMEDIATE ACTIONS:
1. Disable the Career Section plugin immediately on all WordPress installations
2. Audit server logs for suspicious file deletion requests (look for POST requests to appform_options_page_html with delete parameters)
3. Verify integrity of critical files and database backups
4. Restrict administrative access to trusted networks only
PATCHING GUIDANCE:
1. Do not update to any version claiming to fix this - no patch exists yet
2. Remove the plugin entirely until an official security patch is released
3. Monitor the plugin's official repository for security updates
4. Consider alternative recruitment plugins with active security maintenance
COMPENSATING CONTROLS:
1. Implement Web Application Firewall (WAF) rules to block requests to appform_options_page_html with delete parameters
2. Apply principle of least privilege - limit admin accounts to necessary personnel only
3. Implement file integrity monitoring (FIM) on critical directories
4. Enable WordPress security headers and CSRF token validation at WAF level
5. Restrict file system permissions to prevent unauthorized deletion
6. Implement regular automated backups with immutable storage
DETECTION RULES:
1. Monitor for POST requests to wp-admin containing 'appform_options_page_html' and 'delete' parameters
2. Alert on unexpected file deletions in wp-content/uploads and plugin directories
3. Track failed and successful admin login attempts followed by file operations
4. Monitor for requests lacking proper WordPress nonce tokens in admin actions
الإجراءات الفورية:
1. تعطيل مكون Career Section فوراً على جميع تثبيتات WordPress
2. تدقيق سجلات الخادم للطلبات المريبة لحذف الملفات (ابحث عن طلبات POST إلى appform_options_page_html مع معاملات الحذف)
3. التحقق من سلامة الملفات الحرجة والنسخ الاحتياطية من قاعدة البيانات
4. تقييد الوصول الإداري للشبكات الموثوقة فقط
إرشادات التصحيح:
1. عدم التحديث إلى أي إصدار يدعي إصلاح هذا - لا يوجد تصحيح رسمي حتى الآن
2. إزالة المكون بالكامل حتى يتم إصدار تصحيح أمان رسمي
3. مراقبة مستودع المكون الرسمي للتحديثات الأمنية
4. النظر في مكونات توظيف بديلة مع صيانة أمان نشطة
الضوابط التعويضية:
1. تنفيذ قواعد جدار حماية تطبيقات الويب (WAF) لحجب الطلبات إلى appform_options_page_html مع معاملات الحذف
2. تطبيق مبدأ أقل امتياز - تقييد حسابات المسؤول للموظفين الضروريين فقط
3. تنفيذ مراقبة سلامة الملفات (FIM) على الدلائل الحرجة
4. تفعيل رؤوس أمان WordPress والتحقق من رموز CSRF على مستوى WAF
5. تقييد أذونات نظام الملفات لمنع الحذف غير المصرح به
6. تنفيذ النسخ الاحتياطية المؤتمتة المنتظمة مع التخزين غير القابل للتغيير
قواعد الكشف:
1. مراقبة طلبات POST إلى wp-admin تحتوي على 'appform_options_page_html' و'delete'
2. التنبيه على حذف الملفات غير المتوقع في دلائل wp-content/uploads والمكونات
3. تتبع محاولات تسجيل الدخول الفاشلة والناجحة للمسؤول متبوعة بعمليات الملفات
4. مراقبة الطلبات التي تفتقد رموز WordPress nonce المناسبة في الإجراءات الإدارية