8.8

CVE-2022-41678: apache software foundation apache activemq Improper Authentication

CVSS: 8.8v3.1HighModified
AliasesUBUNTU-CVE-2022-41678DEBIAN-CVE-2022-41678GHSA-53v4-42fg-g287
Published 28-11-2023Last modified 03-11-2025

Vulnerability summary

CVE-2022-41678 is a high (CVSS 8.8) Improper Authentication vulnerability in apache software foundation apache activemq. EPSS estimates a 85.81% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities.

Overall risk
52/100
0100
High · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
85.81%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 2

Timeline

  1. 28-11-2023
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

85.81%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 85.81% on 18-09-2026

18-09-202618-10-2026
EPSS score
85.81%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apache1 product
Apache software foundation1 product
Debian1 product
  • activemq< 5.17.2+dfsg-2+deb12u1 | < 5.17.6+dfsg-1
Org.apache.activemq1 product
  • apache-activemq< 5.16.6 | ≥ 5.17.0, < 5.17.4
Ubuntu1 product
  • activemq< 5.13.2+dfsg-2ubuntu0.1~esm1 | < 5.15.8-2~18.04.1~esm1 | < 5.15.11-1ubuntu0.1~esm1 | < 5.16.1-1ubuntu0.1

5 vendors · 5 products

References

19 links
Show all 19 references