CVE-2020-13920 Improper Authentication in Apache ActiveMQ
An unauthenticated attacker can rebind the JMX RMI registry to intercept user credentials via a man-in-the-middle attack.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-13920?
CVE-2020-13920 is a medium-severity missing authorization vulnerability in Apache Activemq, published on 10 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Apache ActiveMQ uses LocateRegistry.createRegistry() to create the JMX RMI registry and binds the server to the "jmxrmi" entry. It is possible to connect to the registry without authentication and call the rebind method to rebind jmxrmi to something else. If an attacker creates another server to proxy the original, and bound that, he effectively becomes a man in the middle and is able to intercept the credentials when an user connects. Upgrade to Apache ActiveMQ 5.15.12.
Weakness: CWE-306
Which versions are affected by CVE-2020-13920?
3 open source packages ship an affected version, including org.apache.activemq:activemq-parent and activemq. It affects 4 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.activemq:activemq-parent Maven | All versions | 5.15.12 |
org.apache.activemq:activemq-parent Maven | All versions | 5.15.12 |
activemq Bitnami | All versions | 5.15.12 |
Products include Apache Activemq, Debian Debian Linux, Oracle Communications Diameter Signaling Router, Oracle Flexcube Private Banking.
How do I fix CVE-2020-13920?
Upgrade org.apache.activemq:activemq-parent to 5.15.12 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2020-13920 being exploited?
There is no known exploitation of CVE-2020-13920 in the wild and no public exploit code.
Other vulnerabilities in Apache Activemq
Sources
Also known as BIT-activemq-2020-13920, DEBIAN-CVE-2020-13920, DLA-2400-1, GHSA-xgrx-xpv2-6vp4, UBUNTU-CVE-2020-13920.