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

critical Nessus Plugin ID 159764

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: Critical

ID: 159764

File Name: apache_shiro_cve-2016-4437_local.nasl

Version: 1.6

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 4/15/2022

Updated: 10/7/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, 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: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/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

Required KB Items: installed_sw/Apache Shiro

Exploit Available: true

Exploit Ease: Exploits are available

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