MyBB Last User's Threads in Profile Plugin 1.2 contains a persistent cross-site scripting vulnerability that allows attackers to inject malicious scripts by crafting thread subjects with script tags. Attackers can create threads with script payloads in the subject field that execute when users visit the attacker's profile page.
CVE-2018-25250 is a persistent XSS vulnerability in MyBB's Last User's Threads in Profile Plugin v1.2 that allows attackers to inject malicious scripts through thread subjects. When users visit an attacker's profile, the injected scripts execute in their browsers, potentially compromising session tokens, credentials, or enabling further attacks. With no patch available and the vulnerability being 6+ years old, organizations still using this plugin face significant risk.
Immediate Actions:
1. Audit all MyBB installations to identify if Last User's Threads in Profile Plugin v1.2 is installed
2. Disable the vulnerable plugin immediately if found
3. Review thread subjects and user profiles for suspicious script content
4. Clear browser caches and session cookies for all users
Patching Guidance:
1. Since no official patch exists, uninstall the vulnerable plugin completely
2. Check MyBB plugin repository for alternative, maintained profile plugins
3. If plugin functionality is critical, contact plugin developer for security update or migrate to maintained alternatives
4. Update MyBB core to latest version (currently 1.8.x series)
Compensating Controls:
1. Implement Content Security Policy (CSP) headers to prevent inline script execution
2. Enable HTML sanitization/filtering on all user-generated content fields
3. Apply input validation to reject script tags in thread subjects and user profiles
4. Implement output encoding for all displayed user content
5. Deploy Web Application Firewall (WAF) rules to detect and block XSS payloads
Detection Rules:
1. Monitor for HTTP requests containing script tags in thread subject parameters
2. Alert on profile page visits followed by suspicious JavaScript execution
3. Log and review all modifications to thread subjects containing HTML/script tags
4. Monitor for unusual DOM manipulation or cookie access from profile pages
الإجراءات الفورية:
1. تدقيق جميع تثبيتات MyBB للتحقق من تثبيت إضافة Last User's Threads in Profile Plugin الإصدار 1.2
2. تعطيل الإضافة المعرضة للخطر فوراً إن وجدت
3. مراجعة عناوين المواضيع وملفات المستخدمين الشخصية بحثاً عن محتوى نصوص برمجية مريبة
4. مسح ذاكرة التخزين المؤقت للمتصفح وملفات تعريف الارتباط للجلسة لجميع المستخدمين
إرشادات التصحيح:
1. بما أنه لا يوجد تصحيح رسمي، قم بإلغاء تثبيت الإضافة المعرضة للخطر بالكامل
2. تحقق من مستودع إضافات MyBB عن إضافات ملف شخصي بديلة وموثوقة
3. إذا كانت وظيفة الإضافة حرجة، اتصل بمطور الإضافة للحصول على تحديث أمني أو الهجرة إلى بدائل موثوقة
4. قم بتحديث نواة MyBB إلى أحدث إصدار (حالياً سلسلة 1.8.x)
الضوابط التعويضية:
1. تطبيق رؤوس سياسة أمان المحتوى (CSP) لمنع تنفيذ النصوص البرمجية المضمنة
2. تفعيل تنظيف/تصفية HTML على جميع حقول محتوى المستخدم
3. تطبيق التحقق من الإدخال لرفض علامات النصوص البرمجية في عناوين المواضيع والملفات الشخصية
4. تطبيق ترميز الإخراج لجميع محتوى المستخدم المعروض
5. نشر قواعد جدار حماية تطبيقات الويب (WAF) للكشف عن حمولات XSS وحجبها
قواعد الكشف:
1. مراقبة طلبات HTTP التي تحتوي على علامات نصوص برمجية في معاملات عنوان الموضوع
2. تنبيه عند زيارات صفحات الملف الشخصي متبوعة بتنفيذ JavaScript مريب
3. تسجيل ومراجعة جميع التعديلات على عناوين المواضيع التي تحتوي على علامات HTML/نصوص برمجية
4. مراقبة معالجة DOM غير العادية أو الوصول إلى ملفات تعريف الارتباط من صفحات الملف الشخصي