CVE-2022-35278: HTML Injection in ActiveMQ Artemis Web Console
A security vulnerability was found in ActiveMQ Artemis. This flaw allows an attacker to show malicious content and redirect users to a malicious URL in the web console by using HTML in the name of an address or queue.
Other sources
HTML injection is a type of injection vulnerability that occurs when a user is able to control an input point and is able to inject arbitrary HTML code into a vulnerable web page. This vulnerability can have many consequences, like disclosure of a user’s session cookies that could be used to impersonate the victim, or, more generally, it can allow the attacker to modify the page content seen by the victims. This vulnerability occurs when user input is not correctly sanitized and the output is not encoded. An injection allows the attacker to send a malicious HTML page to a victim. The targeted browser will not be able to distinguish (trust) legitimate parts from malicious parts of the page, and consequently will parse and execute the whole page in the victim’s context.
— Red Hat
In Apache ActiveMQ Artemis prior to 2.24.0, an attacker could show malicious content and/or redirect users to a malicious URL in the web console by using HTML in the name of an address or queue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache ActiveMQ Artemisto a version that resolves this vulnerability.Fixed in 2.24.0
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2022-35278?
CVE-2022-35278 is a security vulnerability found in ActiveMQ Artemis that allows an attacker to show malicious content and redirect users to a malicious URL in the web console.
How can an attacker exploit CVE-2022-35278?
An attacker can exploit CVE-2022-35278 by using HTML in the name of an address or queue to display malicious content and redirect users to a malicious URL in the web console.
Which versions of Apache ActiveMQ Artemis are affected by CVE-2022-35278?
Versions of Apache ActiveMQ Artemis prior to 2.24.0 are affected by CVE-2022-35278.
What is the severity of CVE-2022-35278?
CVE-2022-35278 has a severity rating of high (6.1).
How can I fix CVE-2022-35278?
To fix CVE-2022-35278, upgrade to Apache ActiveMQ Artemis version 2.24.0 or later.