Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-41678

8.8 · HIGH
Published Nov 28, 2023 apache CWE-287 EPSS 85.81% (100th pctl)

Overview

CVE-2022-41678 is a high-severity vulnerability affecting apache activemq. It was published on November 28, 2023 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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 de

Remediation

Check the references section for vendor advisories and patches from apache. Update activemq to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
apache activemq >= 0, < 5.16.6 Affected

Frequently Asked Questions

What is CVE-2022-41678?

CVE-2022-41678 is a high-severity vulnerability affecting apache activemq. It was published on November 28, 2023 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2022-41678?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-41678?

Check the references section for vendor advisories and patches from apache. Update activemq to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-41678?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-41678 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.