CVE-2020-13932 Cross-site Scripting (XSS) in Apache ActiveMQ Artemis

Medium 6.1 Published Updated

Attackers can inject malicious scripts via MQTT packets to execute code in the admin console browser, requiring an upgrade to secure the message broker.

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-2020-13932?

CVE-2020-13932 is a medium-severity cross-site scripting vulnerability in Apache ActiveMQ Artemis, published on 20 Jul 2020. 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

In Apache ActiveMQ Artemis 2.5.0 to 2.13.0, a specially crafted MQTT packet which has an XSS payload as client-id or topic name can exploit this vulnerability. The XSS payload is being injected into the admin console's browser. The XSS payload is triggered in the diagram plugin; queue node and the info section.

Weakness: CWE-79

Which versions are affected by CVE-2020-13932?

2 open source packages ship an affected version, including org.apache.activemq:apache-artemis. It affects 1 product.

PackageAffectedFixed in
org.apache.activemq:apache-artemis MavenFrom 2.5.02.14.0
org.apache.activemq:apache-artemis MavenFrom 2.5.02.14.0

Products include Apache Artemis.

How do I fix CVE-2020-13932?

Upgrade org.apache.activemq:apache-artemis to 2.14.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-2020-13932 being exploited?

There is no known exploitation of CVE-2020-13932 in the wild and no public exploit code.

Sources

Also known as GHSA-3h2h-xqr2-2jp7.

Is CVE-2020-13932 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free