The lab demonstrates the exploitation of the vulnerability CVE-2023-46604
which is a Remote Code Execution (RCE) vulnerability in the Java OpenWire protocol. The vulnerability allows threat actors to run arbitrary shell commands by manipulating the serialized class types in the OpenWire protocol to make the Java runtime load and instantiate any class in its classpath.
The vulnerability in Apache ActiveMQ's OpenWire implementation arises from the marshaller, a component responsible for serialization and deserialization, failing to validate the class type in the provided OpenWire command. As a result, it allows an attacker to instantiate any class they specify, as long as it is present in the runtime's classpath.
For further details, please refer to https://cve.mitre.org/cgi-bin/cvename.cgi?name=2023-46604