CVE-2012-6092: Cross-site Scripting in Apache ActiveMQ

Summary

17/05/2022
Yes i
Moderate
Not published

CVE-2012-6092: Cross-site Scripting in Apache ActiveMQ. Affects org.apache.activemq:activemq-core versions < 5.8.0. Fixed in 5.8.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache ActiveMQ is an open-source message broker that implements the Java Message Service (JMS) specification. It provides reliable messaging between distributed applications and supports various messaging patterns. ActiveMQ includes web demos that allow users to interact with the message broker through a web interface. These demos are susceptible to multiple cross-site scripting (XSS) vulnerabilities.

Vulnerability Detail

The XSS vulnerabilities in Apache ActiveMQ web demos allow remote attackers to inject arbitrary web script or HTML. The first vulnerability involves the 'refresh' parameter in the 'PortfolioPublishServlet.java' demo, also known as 'demo/portfolioPublish' or 'Market Data Publisher'. The other vectors include debug logs and subscribe messages in 'webapp/websocket/chat.js'. These vulnerabilities can be exploited to execute malicious scripts or steal sensitive information from users accessing the affected web demos.

How To Fix

Minimum fixed version

5.8.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable or restrict access to the vulnerable web demos in Apache ActiveMQ. This can be achieved by modifying the configuration or access controls to prevent unauthorized access to the affected components. However, applying the official fix by upgrading to a patched version is the recommended solution.

Conclusion

The XSS vulnerabilities in Apache ActiveMQ web demos pose a risk of remote code execution and data theft. It is crucial to upgrade to version 5.8.0 or later to address these vulnerabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.activemq:activemq-core →

Share this vulnerability

FAQ

Apache ActiveMQ is an open-source message broker that implements the Java Message Service (JMS) specification. It facilitates reliable messaging between distributed applications.

Versions prior to 5.8.0 of Apache ActiveMQ are affected by the XSS vulnerabilities in the web demos.

The vulnerabilities allow remote attackers to inject malicious scripts or HTML into the web demos, potentially leading to the execution of arbitrary code or theft of sensitive information from users.

To fix the vulnerability, it is recommended to upgrade Apache ActiveMQ to version 5.8.0 or later, which includes the necessary patches to mitigate the XSS vulnerabilities.

As a temporary workaround, users can disable or restrict access to the vulnerable web demos in Apache ActiveMQ. However, applying the official fix by upgrading to a patched version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.activemq:activemq-core.

How To Fix

Minimum fixed version

5.8.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback