CVE-2012-6092 Cross-site Scripting in Apache ActiveMQ
Remote attackers can inject arbitrary web script or HTML into Apache ActiveMQ web demos, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2012-6092?
CVE-2012-6092 is a medium-severity cross-site scripting vulnerability in Apache Activemq, published on 21 Apr 2013. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Multiple cross-site scripting (XSS) vulnerabilities in the web demos in Apache ActiveMQ before 5.8.0 allow remote attackers to inject arbitrary web script or HTML via (1) the refresh parameter to PortfolioPublishServlet.java (aka demo/portfolioPublish or Market Data Publisher), or vectors involving (2) debug logs or (3) subscribe messages in webapp/websocket/chat.js. NOTE: AMQ-4124 is covered by CVE-2012-6551.
Weakness: CWE-79
Which versions are affected by CVE-2012-6092?
2 open source packages ship an affected version, including org.apache.activemq:activemq-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.activemq:activemq-core Maven | All versions | 5.8.0 |
org.apache.activemq:activemq-core Maven | All versions | 5.8.0 |
Products include Apache Activemq.
How do I fix CVE-2012-6092?
Upgrade org.apache.activemq:activemq-core to 5.8.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2012-6092 being exploited?
There is no known exploitation of CVE-2012-6092 in the wild and no public exploit code.
Other vulnerabilities in Apache Activemq
Sources
Also known as GHSA-rp9p-863f-9c4h.