Information Security 3 min read

Remote Code Execution Vulnerability in Apache ActiveMQ < 5.18.3 (Deserialization)

Apache ActiveMQ versions prior to 5.18.3 are vulnerable to a deserialization flaw that allows remote code execution via crafted OpenWire messages on port 61616, affecting various activemq-client and activemq-openwire-legacy artifacts, and can be mitigated by upgrading to 5.15.16, 5.16.7, 5.17.6, 5.18.3 or later.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
Remote Code Execution Vulnerability in Apache ActiveMQ < 5.18.3 (Deserialization)

Vulnerability Description

Apache ActiveMQ is an open‑source messaging middleware from the Apache Foundation that supports JMS, clustering, Spring Framework, and more.

By default, ActiveMQ opens port 61616 to receive OpenWire protocol messages. Because the handling of abnormal messages involves reflective calls, an attacker can craft malicious serialized message data to load arbitrary classes and achieve remote code execution.

Vulnerability Details

Name: Apache ActiveMQ < 5.18.3 Remote Code Execution Vulnerability

Type: Deserialization

Discovery Date: 2023‑10‑25

Impact Breadth: General

MPS ID: MPS‑bd9c‑7xsh

CVE: –

CNVD: CNVD‑2023‑80853

Affected Components

org.apache.activemq:activemq-client@[5.18.0, 5.18.3)

org.apache.activemq:activemq-openwire-legacy@[5.18.0, 5.18.3)

activemq@[5.18.0, 5.18.3)

org.apache.activemq:activemq-client@(-∞, 5.17.6)

org.apache.activemq:activemq-openwire-legacy@(-∞, 5.17.6)

activemq@(-∞, 5.17.6)

Remediation

Upgrade to 5.15.16, 5.16.7, 5.17.6, 5.18.3, or any later version.

Specifically, upgrade the component org.apache.activemq:activemq-openwire-legacy to version 5.18.3 or newer.

Upgrade the component activemq to version 5.18.3 or newer.

Upgrade the component org.apache.activemq:activemq-client to version 5.17.6 or newer.

Upgrade the component org.apache.activemq:activemq-openwire-legacy to version 5.17.6 or newer.

Upgrade the component activemq to version 5.17.6 or newer.

deserializationinformation securityvulnerabilityRemote Code ExecutionMessaging MiddlewareApache ActiveMQ
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.