CVE-2022-35278: Apache ActiveMQ Artemis HTML injection in Web Console

CVE-2022-35278 · Severity: medium · CVSS 6.1 · Published 2022-08-24

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.

Technologies: org.apache.activemq:artemis-server (Maven). Vendors: Maven.

Quick answers

Is CVE-2022-35278 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-35278 being exploited in the wild.
How severe is CVE-2022-35278?
Medium severity, with a CVSS score of 6.1, published 24 August 2022.
Which products and versions are affected?
org.apache.activemq:artemis-server (Maven) < 2.24.0, ECOSYSTEM:introduced=0,fixed=2.24.0.
Is there a fix for CVE-2022-35278?
Yes. org.apache.activemq:artemis-server (Maven): upgrade to 2.24.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2022-35278 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2022-35278?
Check whether you run org.apache.activemq:artemis-server (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.apache.activemq:artemis-server (Maven): upgrade to 2.24.0 or later
    # set org.apache.activemq:artemis-server to 2.24.0 in your pom.xml or build.gradle

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

Identifiers

  • CVE-2022-35278
  • GHSA-cv6r-h2fm-pvrp

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

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.