The Worry Proof Backup plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 0.2.4 via the backup upload functionality. This makes it possible for authenticated attackers, with Subscriber-level access and above, to upload a malicious ZIP archive with path traversal sequences to write arbitrary files anywhere on the server, including executable PHP files. This can lead to remote code execution.
The Worry Proof Backup WordPress plugin (versions ≤0.2.4) contains a critical path traversal vulnerability in its backup upload functionality that allows authenticated users with Subscriber-level access to upload malicious ZIP files and execute arbitrary code on the server. This vulnerability poses a significant risk to WordPress installations across Saudi Arabia, particularly those managing sensitive business and government data. Immediate patching is essential as the vulnerability requires only basic authentication and can lead to complete server compromise.
IMMEDIATE ACTIONS:
1. Identify all WordPress installations using Worry Proof Backup plugin across your organization
2. Disable the plugin immediately if version ≤0.2.4 is detected
3. Review backup upload logs for suspicious ZIP files with path traversal sequences (../ patterns)
4. Check for unauthorized PHP files in unexpected directories
PATCHING GUIDANCE:
1. Update Worry Proof Backup plugin to version >0.2.4 immediately
2. Verify update completion and plugin functionality
3. Clear any cached versions of the plugin
COMPENSATING CONTROLS (if immediate patching delayed):
1. Restrict backup upload functionality to Administrator-level users only
2. Implement Web Application Firewall (WAF) rules to block requests containing "../" in file uploads
3. Disable ZIP file uploads entirely if backup functionality not critical
4. Implement strict file upload validation on the application level
5. Monitor /wp-content/uploads/ and web root directories for suspicious PHP files
DETECTION RULES:
1. Monitor for POST requests to backup upload endpoints containing path traversal sequences
2. Alert on PHP file creation in non-standard directories
3. Track failed authentication attempts followed by Subscriber-level uploads
4. Monitor for ZIP file uploads with suspicious internal paths
5. Log all backup-related plugin activities for forensic review
الإجراءات الفورية:
1. تحديد جميع تثبيتات WordPress التي تستخدم مكون Worry Proof Backup في جميع أنحاء المنظمة
2. تعطيل المكون فوراً إذا تم اكتشاف الإصدار ≤0.2.4
3. مراجعة سجلات تحميل النسخة الاحتياطية للملفات المريبة من نوع ZIP التي تحتوي على تسلسلات اجتياز المسار (أنماط ../)
4. التحقق من ملفات PHP غير المصرح بها في الدلائل غير المتوقعة
إرشادات التصحيح:
1. تحديث مكون Worry Proof Backup إلى إصدار >0.2.4 فوراً
2. التحقق من اكتمال التحديث وعمل المكون
3. مسح أي نسخ مخزنة مؤقتاً من المكون
الضوابط البديلة (إذا تأخر التصحيح الفوري):
1. تقييد وظيفة تحميل النسخة الاحتياطية لمستخدمي المسؤول فقط
2. تنفيذ قواعد جدار حماية تطبيقات الويب (WAF) لحظر الطلبات التي تحتوي على "../" في تحميلات الملفات
3. تعطيل تحميلات ملفات ZIP بالكامل إذا لم تكن وظيفة النسخ الاحتياطية حرجة
4. تنفيذ التحقق الصارم من تحميل الملفات على مستوى التطبيق
5. مراقبة الدلائل /wp-content/uploads/ والجذر لملفات PHP المريبة
قواعد الكشف:
1. مراقبة طلبات POST إلى نقاط نهاية تحميل النسخة الاحتياطية التي تحتوي على تسلسلات اجتياز المسار
2. تنبيه عند إنشاء ملف PHP في دلائل غير قياسية
3. تتبع محاولات المصادقة الفاشلة متبوعة بتحميلات على مستوى المشترك
4. مراقبة تحميلات ملفات ZIP بمسارات داخلية مريبة
5. تسجيل جميع أنشطة المكون المتعلقة بالنسخ الاحتياطية لمراجعة الطب الشرعي