Rapid7 Vulnerability & Exploit Database

Apache Shiro v1.2.4 Cookie RememberME Deserial RCE

Back to Search

Apache Shiro v1.2.4 Cookie RememberME Deserial RCE

Disclosed
06/07/2016
Created
04/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.

Author(s)

  • L / l-codes <L / l-codes@qq.com>

Platform

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/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

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

;