Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Apache ActiveMQ, Apache ActiveMQ Web.
The MessageServlet in the ActiveMQ web console API copies every JMS message
property into an HTTP response header without any validation. This can allow overwriting and injecting security headers by setting them on JMS messages that are returned by the servlet.
This issue affects Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ Web: before 5.19.7, from 6.0.0 before 6.2.6.
Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue. The MessageServlet has now been deprecated and disabled by default.
Apache ActiveMQ's MessageServlet copies JMS message properties into HTTP response headers without validation, allowing attackers to inject malicious headers including XSS payloads. This vulnerability affects versions before 5.19.7 and 6.0.0-6.2.5, with remediation available through upgrading to patched versions.
تحتوي ثغرة في Apache ActiveMQ على عيب في التحقق من صحة المدخلات حيث ينسخ MessageServlet جميع خصائص رسائل JMS مباشرة إلى رؤوس استجابة HTTP. يمكن للمهاجمين استغلال هذا لحقن رؤوس ضارة بما في ذلك رؤوس الأمان والبرامج النصية الضارة. الإصدارات المتأثرة تشمل ActiveMQ 5.x قبل 5.19.7 و6.x قبل 6.2.6.
خادم رسائل ActiveMQ ينسخ خصائص رسائل JMS إلى رؤوس استجابة HTTP دون التحقق، مما يسمح بحقن رؤوس ضارة. يؤثر على الإصدارات السابقة للإصدار 5.19.7 و6.0.0-6.2.5، مع توفر الإصلاح من خلال الترقية.
Immediately upgrade Apache ActiveMQ to version 5.19.7 or 6.2.6 or later. If immediate upgrade is not possible, disable the MessageServlet in the web console configuration. Implement Web Application Firewall (WAF) rules to detect and block suspicious header injection attempts. Monitor JMS message properties for malicious content and restrict access to the ActiveMQ web console to trusted networks only.
قم بالترقية الفورية إلى Apache ActiveMQ الإصدار 5.19.7 أو 6.2.6 أو أحدث. إذا لم تكن الترقية الفورية ممكنة، قم بتعطيل MessageServlet في إعدادات وحدة التحكم. طبق قواعد جدار حماية تطبيقات الويب لكشف محاولات حقن الرؤوس المريبة. راقب خصائص رسائل JMS بحثاً عن محتوى ضار وقيد الوصول إلى وحدة تحكم ActiveMQ للشبكات الموثوقة فقط.