Executive brief
Apache ActiveMQ Artemis is a high-performance message broker used to manage data communication between different applications. A security vulnerability in its web management console allows attackers to inject malicious HTML content by naming message queues or addresses with specially crafted code. If an administrator views these names in the console, they could be redirected to malicious websites or see fraudulent content, potentially compromising their session or the management interface.
Technical details
A Cross-Site Scripting (XSS) / HTML Injection vulnerability exists in the Apache ActiveMQ Artemis Web Console prior to version 2.24.0. The vulnerability stems from improper neutralization of user-controllable input when displaying the names of addresses or queues. An attacker can exploit this by creating a queue or address with a name containing malicious HTML or script tags. When an authenticated user views the affected component in the web console, the malicious payload is executed in their browser context. This can lead to session hijacking, unauthorized redirection, or defacement of the management interface. The issue is resolved in version 2.24.0.
Affected products
- Apache ActiveMQ Artemis < 2.24.0
Timeline
- 2022-08-23: advisory: NVD published CVE-2022-35278
- 2022-08-24: disclosed: GitHub Advisory published
- 2022-08-24: patched: Version 2.24.0 released