IBM Cognos Analytics 11.2.0, 11.2.4, 12.0, and 12.1.0 and IBM Cognos Transformer 11.2.4, 12.0, and 12.1.0 are vulnerable to cross-site scripting (XSS). This vulnerability allows a remote attacker to inject arbitrary JavaScript code into the web user interface, which may alter the intended functionality and could lead to the disclosure of credentials within a trusted session.
IBM Cognos Analytics and Transformer versions 11.2.0 through 12.1.0 contain a stored/reflected XSS vulnerability (CVSS 5.4) allowing remote attackers to inject malicious JavaScript. While no public exploit exists, the vulnerability could enable credential theft and session hijacking in trusted environments. Immediate mitigation is critical for organizations using these business intelligence platforms.
Immediate Actions:
1. Identify all Cognos Analytics and Transformer instances running versions 11.2.0, 11.2.4, 12.0, or 12.1.0
2. Restrict network access to Cognos web interfaces using firewall rules and VPN requirements
3. Implement Web Application Firewall (WAF) rules to block XSS payloads (filter <script>, javascript:, onerror=, onload= patterns)
4. Enable Content Security Policy (CSP) headers to prevent inline script execution
5. Enforce multi-factor authentication (MFA) for all Cognos user accounts
6. Monitor Cognos logs for suspicious JavaScript patterns in reports and dashboards
Patching Guidance:
- Contact IBM Support immediately for security patches or workarounds
- Plan upgrade to patched versions when available (monitor IBM security advisories)
- Test patches in non-production environment before deployment
Compensating Controls:
- Disable report sharing features if not essential
- Implement input validation and output encoding at application level
- Use read-only accounts where possible
- Conduct security awareness training on phishing and credential compromise
Detection Rules:
- Alert on Cognos requests containing: <script>, javascript:, onerror, onload, onclick, onmouseover
- Monitor for unusual report modifications or new report creation by service accounts
- Track failed authentication attempts followed by successful logins
- Log all Cognos administrative actions
الإجراءات الفورية:
1. تحديد جميع مثيلات Cognos Analytics و Transformer التي تعمل بالإصدارات 11.2.0 و 11.2.4 و 12.0 و 12.1.0
2. تقييد الوصول إلى واجهات Cognos الويب باستخدام قواعد جدار الحماية ومتطلبات VPN
3. تطبيق قواعد Web Application Firewall لحجب حمولات XSS (تصفية <script> و javascript: و onerror= و onload=)
4. تفعيل رؤوس Content Security Policy لمنع تنفيذ البرامج النصية المضمنة
5. فرض المصادقة متعددة العوامل لجميع حسابات مستخدمي Cognos
6. مراقبة سجلات Cognos للأنماط المريبة في التقارير واللوحات
إرشادات التصحيح:
- الاتصال بدعم IBM فوراً للحصول على تصحيحات أمان أو حلول بديلة
- التخطيط للترقية إلى إصدارات مصححة عند توفرها
- اختبار التصحيحات في بيئة غير الإنتاج قبل النشر
الضوابط البديلة:
- تعطيل ميزات مشاركة التقارير إن لم تكن ضرورية
- تطبيق التحقق من صحة المدخلات والترميز عند الإخراج
- استخدام حسابات القراءة فقط حيث أمكن
- إجراء تدريب الوعي الأمني على التصيد والاختراق
قواعد الكشف:
- تنبيهات على طلبات Cognos تحتوي على: <script> و javascript: و onerror و onload و onclick
- مراقبة تعديلات التقارير غير العادية أو إنشاء تقارير جديدة بواسطة حسابات الخدمة
- تتبع محاولات المصادقة الفاشلة متبوعة بعمليات تسجيل دخول ناجحة