The Widgets for Social Photo Feed plugin for WordPress is vulnerable to unauthorized access of data and modification of data due to a missing capability check on the '/trustindex_feed_hook_instagram/troubleshooting' and '/trustindex_feed_hook_instagram/submit-data' REST API endpoints in all versions up to, and including, 1.8. This makes it possible for unauthenticated attackers to access and update plugin settings.
The Widgets for Social Photo Feed WordPress plugin (versions ≤1.8) contains missing capability checks on REST API endpoints, allowing unauthenticated attackers to access and modify plugin settings. This vulnerability affects WordPress installations used by Saudi organizations for social media integration and could lead to unauthorized data access and configuration tampering. With no patch currently available, immediate mitigation is required for affected deployments.
IMMEDIATE ACTIONS:
1. Identify all WordPress installations using Widgets for Social Photo Feed plugin version 1.8 or earlier
2. Disable the plugin immediately if not critical to operations
3. If plugin is required, restrict REST API access via .htaccess or web application firewall rules
COMPENSATING CONTROLS (until patch available):
1. Implement IP whitelisting for REST API endpoints: /trustindex_feed_hook_instagram/troubleshooting and /trustindex_feed_hook_instagram/submit-data
2. Add WAF rules to block unauthenticated POST/GET requests to these endpoints
3. Disable REST API entirely if not required: add 'define('REST_API_ENABLED', false);' to wp-config.php
4. Implement WordPress security headers and disable direct REST API access for non-authenticated users
5. Monitor WordPress user accounts for unauthorized access attempts
DETECTION RULES:
1. Monitor access logs for requests to /wp-json/trustindex_feed_hook_instagram/* endpoints from non-authenticated sessions
2. Alert on any POST requests to /submit-data endpoint without valid WordPress authentication tokens
3. Track changes to plugin settings in WordPress database audit logs
4. Monitor for unusual Instagram feed data exports or modifications
PATCHING STRATEGY:
1. Monitor plugin repository for security update (version 1.9+)
2. Test patch in staging environment before production deployment
3. Plan immediate deployment upon patch availability
الإجراءات الفورية:
1. تحديد جميع تثبيتات WordPress التي تستخدم مكون Widgets for Social Photo Feed الإصدار 1.8 أو أقدم
2. تعطيل المكون فوراً إذا لم يكن حرجاً للعمليات
3. إذا كان المكون مطلوباً، قيد وصول REST API عبر قواعد .htaccess أو جدار الحماية لتطبيقات الويب
الضوابط التعويضية (حتى توفر التصحيح):
1. تطبيق القائمة البيضاء للعناوين IP لنقاط نهاية REST API: /trustindex_feed_hook_instagram/troubleshooting و /trustindex_feed_hook_instagram/submit-data
2. إضافة قواعد WAF لحظر طلبات POST/GET غير المصرح بها لهذه النقاط النهائية
3. تعطيل REST API بالكامل إذا لم يكن مطلوباً: أضف 'define('REST_API_ENABLED', false);' إلى wp-config.php
4. تطبيق رؤوس أمان WordPress وتعطيل وصول REST API المباشر للمستخدمين غير المصرح لهم
5. مراقبة حسابات مستخدمي WordPress للكشف عن محاولات الوصول غير المصرح بها
قواعد الكشف:
1. مراقبة سجلات الوصول للطلبات إلى نقاط نهاية /wp-json/trustindex_feed_hook_instagram/* من جلسات غير مصرح بها
2. تنبيه على أي طلبات POST إلى نقطة نهاية /submit-data بدون رموز مصادقة WordPress صحيحة
3. تتبع التغييرات على إعدادات المكون في سجلات تدقيق قاعدة بيانات WordPress
4. مراقبة عمليات تصدير أو تعديل بيانات Instagram Feed غير العادية
استراتيجية التصحيح:
1. مراقبة مستودع المكون للحصول على تحديث أمان (الإصدار 1.9+)
2. اختبار التصحيح في بيئة التدريج قبل نشره في الإنتاج
3. التخطيط للنشر الفوري عند توفر التصحيح