Critical Remote Code Execution Vulnerability in Apache Shiro - CVE-2016-4437

shiro Updated 02 Oct 2025

Summary

07/06/2016
N/A
Yes i
Critical
9.8

CVE-2016-4437: 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 para... Affects shiro across 3 version ranges.

< 1.2.5-1 < bf1e04fca099ca6fd1a9a16da1aea04a5bb8f404 >= fc8697aa0fee97cb587f21334ca58b40546f3e76, < b009191cf66aa73c5ed85ccfd5d5e322efa11c74

Fixed in 1.2.5-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Shiro is a powerful and flexible open-source security framework that provides authentication, authorization, cryptography, and session management for Java applications. It is widely used due to its ease of integration and robust features. However, prior to version 1.2.5, Shiro had a significant vulnerability related to its 'remember me' feature, which could be exploited if a cipher key was not configured.

Vulnerability Detail

CVE-2016-4437 is a critical vulnerability in Apache Shiro that allows remote attackers to execute arbitrary code or bypass access restrictions. This issue arises when the 'remember me' feature is used without a properly configured cipher key. Attackers can exploit this vulnerability through unspecified request parameters, leading to severe security implications, including unauthorized access and data breaches.

How To Fix

Minimum fixed version

1.2.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade shiro

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate upgrading is not feasible, consider disabling the 'remember me' feature until a secure version is implemented. This can be done by modifying the configuration settings in your application to prevent the use of this feature temporarily.

Conclusion

CVE-2016-4437 represents a serious security risk for applications using Apache Shiro prior to version 1.2.5. It is crucial for developers and system administrators to upgrade to the latest version and ensure proper configuration of security features to protect against potential exploits.

See every vulnerability recorded for shiro →

Share this vulnerability

FAQ

CVE-2016-4437 is a vulnerability in Apache Shiro that allows remote code execution due to improper configuration of the 'remember me' feature.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Exploitation of this vulnerability can lead to unauthorized access, data breaches, and potential control over the affected system.

Yes, you can disable the 'remember me' feature as a temporary workaround until you can upgrade to a secure version.

The CVSS score for CVE-2016-4437 is 9.8, indicating a critical level of severity.

Related vulnerabilities

Recent vulnerabilities recorded for shiro.

How To Fix

Minimum fixed version

1.2.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade shiro

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback