CVE-2022-41678Activemq Authentication Bypass
Apache ActiveMQ Deserialization of Untrusted Data vulnerability
Published Nov 28, 2023 · Updated Nov 24, 2026 · Also known as BIT-activemq-2022-41678, DEBIAN-CVE-2022-41678, DLA-3936-1, DSA-5798-1, GHSA-53v4-42fg-g287, OESA-2023-1925, UBUNTU-CVE-2022-41678, USN-7268-1
Key Facts
Patch immediately- CVE-2022-41678 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Activemq (Apache), rootio-activemq, org.apache.activemq:apache-activemq (maven) and 3 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 86% probability of exploitation in the next 30 days.
- Fixed versions are available, including Activemq 5.13.2+dfsg-2ubuntu0.1~esm1, Activemq 5.15.11-1ubuntu0.1~esm1, Activemq 5.15.8-2~18.04.1~esm1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
86%
Higher than 99.7% of all scored CVEs
Exploit maturity
None known
ATLAS score
36/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://activemq.apache.org/security-advisories.data/CVE-2022-41678-announcement.txt
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2022-41678
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-41678
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2022-41678
- advisoryhttps://ubuntu.com/security/CVE-2022-41678
- advisoryRHSA-2024:2944
Description
Once an user is authenticated on Jolokia, he can potentially trigger arbitrary code execution.
In details, in ActiveMQ configurations, jetty allows org.jolokia.http.AgentServlet to handler request to /api/jolokia
org.jolokia.http.HttpRequestHandler#handlePostRequest is able to create JmxRequest through JSONObject. And calls to org.jolokia.http.HttpRequestHandler#executeRequest.
Into deeper calling stacks, org.jolokia.handler.ExecHandler#doHandleRequest can be invoked through refection. This could lead to RCE through via various mbeans. One example is unrestricted deserialization in jdk.management.jfr.FlightRecorderMXBeanImpl which exists on Java version above 11.
1 Call newRecording.
2 Call setConfiguration. And a webshell data hides in it.
3 Call startRecording.
4 Call copyTo method. The webshell will be written to a .jsp file.
The mitigation is to restrict (by default) the actions authorized on Jolokia, or disable Jolokia. A more restrictive Jolokia configuration has been defined in default ActiveMQ distribution. We encourage users to upgrade to ActiveMQ distributions version including updated Jolokia configuration: 5.16.6, 5.17.4, 5.18.0, 6.0.0.
Affected Products
34 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| ActivemqApache | See advisory | 5.16.6 |
| rootio-activemqrootio | See advisory | 5.16.1-1+deb11u1 |
| org.apache.activemq:apache-activemqmaven | >= 5.17.0 | 5.17.4 |
| amq7/amq-broker-init-rhel8:7.12.0redhat | See advisory | 7 |
| amq7/amq-broker-rhel8:7.12.0redhat | See advisory | 7 |
Patched Releases
Activemq
5.13.2+dfsg-2ubuntu0.1~esm1, 5.15.11-1ubuntu0.1~esm1, 5.15.8-2~18.04.1~esm1, 5.16.1-1+deb11u1, 5.16.1-1ubuntu0.1, 5.16.1-1ubuntu0.1~esm1, 5.16.6, 5.16.7-1.oe1, 5.16.7-1.oe2203sp1, 5.16.7-1.oe2203sp2, 5.17.2+dfsg-2+deb12u1, 5.17.4, 5.17.6+dfsg-1
amq7/amq-broker-init-rhel8:7.12.0
7
amq7/amq-broker-rhel8-operator-bundle:7.12.0
10
amq7/amq-broker-rhel8:7.12.0
7
org.apache.activemq:apache-activemq
5.16.6, 5.17.4
rootio-activemq
5.16.1-1+deb11u1, 5.17.2+dfsg-2+deb12u1, 5.17.6+dfsg-1
Timeline
Publicly disclosed
Nov 28, 2023
Last updated
Nov 24, 2026
Weakness Type
- CWE-287 Improper Authentication
- CWE-502 Deserialization of Untrusted Data
References
- advisoryactivemq.apache.org · CVE-2022-41678
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-41678
- advisorysecurity-tracker.debian.org · CVE-2022-41678
- advisoryubuntu.com · CVE-2022-41678
FAQ
Common Questions.
Once an user is authenticated on Jolokia, he can potentially trigger arbitrary code execution.
Affected: Activemq (Apache); rootio-activemq; org.apache.activemq:apache-activemq (maven) versions >= 5.17.0, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Activemq 5.13.2+dfsg-2ubuntu0.1~esm1, Activemq 5.15.11-1ubuntu0.1~esm1, Activemq 5.15.8-2~18.04.1~esm1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-41678 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo