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

high 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: High

ID: 159764

File Name: apache_shiro_cve-2016-4437_local.nasl

Version: 1.4

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 4/15/2022

Updated: 4/25/2023

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

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