Rapid7 Vulnerability & Exploit Database

Apache ActiveMQ Unauthenticated Remote Code Execution

Back to Search

Apache ActiveMQ Unauthenticated Remote Code Execution

Disclosed
10/27/2023
Created
11/06/2023

Description

This module exploits a deserialization vulnerability in the OpenWire transport unmarshaller in Apache ActiveMQ. Affected versions include 5.18.0 through to 5.18.2, 5.17.0 through to 5.17.5, 5.16.0 through to 5.16.6, and all versions before 5.15.16.

Author(s)

  • X1r0z
  • sfewer-r7

Platform

Linux,Unix,Windows

Architectures

cmd

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/misc/apache_activemq_rce_cve_2023_46604
msf exploit(apache_activemq_rce_cve_2023_46604) > show targets
    ...targets...
msf exploit(apache_activemq_rce_cve_2023_46604) > set TARGET < target-id >
msf exploit(apache_activemq_rce_cve_2023_46604) > show options
    ...show and set options...
msf exploit(apache_activemq_rce_cve_2023_46604) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;