module

Apache Shiro v1.2.4 Cookie RememberME Deserial RCE

Disclosed
Jun 7, 2016
Created
Apr 29, 2020

Description

This vulnerability allows remote attackers to execute arbitrary code on vulnerable
installations of Apache Shiro v1.2.4. Note that other versions of Apache Shiro may
also be exploitable if the encryption key used by Shiro to encrypt rememberMe
cookies is known.

The gadget chain used for Java deserialization must be present on the target's classpath.

Author

L / l-codes L / [email protected]

Platform

Unix,Windows

Architectures

cmd

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/http/shiro_rememberme_v124_deserialize
msf exploit(shiro_rememberme_v124_deserialize) > show targets
...targets...
msf exploit(shiro_rememberme_v124_deserialize) > set TARGET < target-id >
msf exploit(shiro_rememberme_v124_deserialize) > show options
...show and set options...
msf exploit(shiro_rememberme_v124_deserialize) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.