Apache Shiro Default Cipher Key (CVE-2016-4437)

high Nessus Plugin ID 159323

Synopsis

A Java security framework uses a default cipher key.

Description

The Apache Shiro uses a default cipher key for the 'remember me' feature when not explicitly configured. An unauthenticated, remote attacker can exploit this, via a specially crafted request, to execute arbitrary code or access content that would otherwise be protected by a security constraint.

Solution

Upgrade to Apache Shiro 1.2.5 or later, ensure a secret cipher key is configured, or disable the 'remember me' feature.

See Also

http://www.nessus.org/u?fd9839a6

http://www.nessus.org/u?25ff751a

Plugin Details

Severity: High

ID: 159323

File Name: apache_shiro_cve-2016-4437.nbin

Version: 1.27

Type: remote

Family: CGI abuses

Published: 3/30/2022

Updated: 3/19/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2016-4437

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.5

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:apache:shiro

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Patch Publication Date: 5/18/2016

Vulnerability Publication Date: 6/3/2016

CISA Known Exploited Vulnerability Due Dates: 5/3/2022

Exploitable With

Metasploit (Apache Shiro v1.2.4 Cookie RememberME Deserial RCE)

Reference Information

CVE: CVE-2016-4437