Vulnerabilities > CVE-2016-4437 - Improper Access Control vulnerability in Apache Shiro

047910
CVSS 8.1 - HIGH
Attack vector
NETWORK
Attack complexity
HIGH
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
high complexity
apache
CWE-284
exploit available
metasploit

Summary

Apache Shiro before 1.2.5, when a cipher key has not been configured for the "remember me" feature, allows remote attackers to execute arbitrary code or bypass intended access restrictions via an unspecified request parameter.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Signature Spoofing by Key Theft
    An attacker obtains an authoritative or reputable signer's private signature key by theft and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker.

Exploit-Db

idEDB-ID:48410
last seen2020-05-01
modified2020-05-01
published2020-05-01
reporterExploit-DB
sourcehttps://www.exploit-db.com/download/48410
titleApache Shiro 1.2.4 - Cookie RememberME Deserial RCE (Metasploit)

Metasploit

descriptionThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apache Shiro v1.2.4.
idMSF:EXPLOIT/MULTI/HTTP/SHIRO_REMEMBERME_V124_DESERIALIZE
last seen2020-06-10
modified2020-04-28
published2019-02-04
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/shiro_rememberme_v124_deserialize.rb
titleApache Shiro v1.2.4 Cookie RememberME Deserial RCE

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/157497/shiro_rememberme_v124_deserialize.rb.txt
idPACKETSTORM:157497
last seen2020-05-02
published2020-04-29
reporterL
sourcehttps://packetstormsecurity.com/files/157497/Apache-Shiro-1.2.4-Remote-Code-Execution.html
titleApache Shiro 1.2.4 Remote Code Execution

Redhat

advisories
  • rhsa
    idRHSA-2016:2035
  • rhsa
    idRHSA-2016:2036