Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | shiro | 1.2.5-1 | — |
| Debian 13 | shiro | 1.2.5-1 | — |
| Debian 12 | shiro | 1.2.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | shiro | 1.2.4-1ubuntu0.1~esm1 | USN-7139-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Apache Shiro v1.2.4 Cookie RememberME Deserial RCE
exploit/multi/http/shiro_rememberme_v124_deserialize
Exploit-DB 1
- Apache Shiro 1.2.4 - Cookie RememberME Deserial RCE (Metasploit) EDB-48410 · remote · May 1, 2020 · verified
GitHub 7 repositories
-
bkfish/Awesome_shiro ★ 55 · May 27, 2020
CVE-2016-4437-Shiro反序列化爆破模块和key,命令执行,反弹shell的脚本
-
4nth0ny1130/shisoserial ★ 24 · Dec 23, 2021
一个针对shiro反序列化漏洞(CVE-2016-4437)的快速利用工具/A simple tool targeted at shiro framework attacks with ysoserial.
-
pizza-power/CVE-2016-4437 ★ 2 · Dec 22, 2023
Python POC to Exploit CVE-2016-4437 Apache Shiro Deserialization Vulnerability Due to Hardcode Encryption Key
-
35789-gh/cve-2016-4437 ★ 1 · Feb 19, 2026
这是基于cve-2016-4437简单的漏洞复现代码
-
CyberCTF/vulhub-shiro-cve-2016-4437 ★ 0 · Oct 8, 2026
Vulhub shiro/CVE-2016-4437: Shiro 1.2.4 rememberMe deserialization, run with Isoloom
-
xk-mt/CVE-2016-4437 ★ 0 · Jan 15, 2024
1.验证CVE-2016-4437、2.解析rememberMe的文件和CBC加密的IV偏移
-
m3terpreter/CVE-2016-4437 ★ 0 · Jun 22, 2021
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Apache Shiro 1.2.4 Cookie RememberME - Deserial Remote Code Execution Vulnerability http/cves/2016/CVE-2016-4437.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.shiro:shiro-core | < 1.2.5 | 1.2.5 | GHSA-p836-389h-j692 |
Advisories 2
- USN-7139-1 shiro vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- WID-SEC-2024-3616 Red Hat JBoss Fuse: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 5, 2024
References
- RHSA-2016:2035 vendor-advisory
- [announcements@aurora.apache.org] 20171101 Apache Aurora information disclosure vulnerability mailing-list
- http://packetstormsecurity.com/files/137310/Apache-Shiro-1.2.4-Information-Disclosure.html
- RHSA-2016:2036 vendor-advisory
- 91024 vdb-entry
- 20160603 [Announce] CVE-2016-4437: Apache Shiro information disclosure vulnerability mailing-list
- http://packetstormsecurity.com/files/157497/Apache-Shiro-1.2.4-Remote-Code-Execution.html