The FOX – Currency Switcher Professional for WooCommerce plugin for WordPress is vulnerable to unauthorized data loss due to a missing capability check on the 'admin_head' function in all versions up to, and including, 1.4.5. This makes it possible for authenticated attackers, with Contributor-level access and above, to delete the entire multi-currency configuration by visiting any wp-admin page with the `woocs_reset` parameter appended. Additionally, because no nonce is verified, this is also exploitable via Cross-Site Request Forgery against any administrator. The vulnerability may also be exploited by Subscriber-level users if the site is configured to allow Subscriber access to 'wp-admin' pages.
CVE-2026-4094 affects the FOX Currency Switcher Professional WooCommerce plugin (versions ≤1.4.5), allowing authenticated attackers with Contributor-level access to delete entire multi-currency configurations via a missing capability check and absent nonce verification. The vulnerability is exploitable via CSRF against administrators and potentially Subscribers with wp-admin access, causing complete loss of currency configuration data. With no patch currently available and high CVSS score of 8.1, immediate mitigation is critical for e-commerce platforms in Saudi Arabia.
IMMEDIATE ACTIONS:
1. Disable the FOX Currency Switcher Professional plugin immediately until patch is available
2. If disabling is not feasible, restrict wp-admin access to trusted IP ranges only via .htaccess or WAF rules
3. Implement strict user role management - audit and remove unnecessary Contributor/Subscriber wp-admin access
4. Review WordPress user accounts and remove any suspicious or unused accounts with elevated privileges
COMPENSATING CONTROLS:
1. Deploy Web Application Firewall (WAF) rules to block requests containing 'woocs_reset' parameter
2. Implement CSRF token validation at application level if possible through custom code
3. Enable WordPress security plugins (Wordfence, Sucuri) with CSRF protection and request filtering
4. Configure Content Security Policy (CSP) headers to prevent unauthorized script execution
5. Implement request logging and alerting for any wp-admin access with suspicious parameters
DETECTION RULES:
1. Monitor WordPress access logs for requests containing 'woocs_reset' parameter
2. Alert on any wp-admin page access from Contributor-level or below accounts
3. Track database changes to wp_options table for currency configuration deletions
4. Monitor for unusual referrer headers in wp-admin requests (CSRF indicator)
5. Log all user role changes and capability modifications
PATCHING GUIDANCE:
1. Contact plugin vendor for security update timeline
2. Prepare rollback plan and database backups before applying any updates
3. Test patches in staging environment before production deployment
4. Document all currency configurations before plugin update as contingency
الإجراءات الفورية:
1. تعطيل إضافة FOX Currency Switcher Professional فوراً حتى توفر التصحيح
2. إذا لم يكن التعطيل ممكناً، قيد وصول wp-admin إلى نطاقات IP موثوقة فقط عبر .htaccess أو قواعد WAF
3. تنفيذ إدارة صارمة لأدوار المستخدمين - تدقيق وإزالة وصول wp-admin غير الضروري للمساهمين/المشتركين
4. مراجعة حسابات مستخدمي WordPress وإزالة أي حسابات مريبة أو غير مستخدمة بامتيازات مرتفعة
الضوابط التعويضية:
1. نشر قواعد جدار الحماية (WAF) لحجب الطلبات التي تحتوي على معامل 'woocs_reset'
2. تنفيذ التحقق من رمز CSRF على مستوى التطبيق إن أمكن من خلال كود مخصص
3. تفعيل إضافات أمان WordPress (Wordfence, Sucuri) مع حماية CSRF وتصفية الطلبات
4. تكوين رؤوس Content Security Policy (CSP) لمنع تنفيذ البرامج النصية غير المصرح بها
5. تنفيذ تسجيل الطلبات والتنبيهات لأي وصول wp-admin بمعاملات مريبة
قواعد الكشف:
1. مراقبة سجلات وصول WordPress للطلبات التي تحتوي على معامل 'woocs_reset'
2. التنبيه على أي وصول صفحة wp-admin من حسابات بمستوى المساهم أو أقل
3. تتبع تغييرات قاعدة البيانات في جدول wp_options لحذف إعدادات العملة
4. مراقبة رؤوس المحيل غير العادية في طلبات wp-admin (مؤشر CSRF)
5. تسجيل جميع تغييرات أدوار المستخدمين وتعديلات القدرات
إرشادات التصحيح:
1. اتصل بمورد الإضافة للحصول على جدول زمني لتحديث الأمان
2. تحضير خطة التراجع والنسخ الاحتياطية لقاعدة البيانات قبل تطبيق أي تحديثات
3. اختبر التصحيحات في بيئة التطوير قبل نشر الإنتاج
4. وثق جميع إعدادات العملة قبل تحديث الإضافة كخطة طوارئ