Skip to content
OpenAdvisories
Critical · 9.8 Known exploited Scanner template Public exploit CVE-2016-4437 EUVD-2022-4711GHSA-p836-389h-j692

Improper Access Control in Apache Shiro

Published Jun 7, 2016 · Updated Oct 21, 2025 · Assigned by redhat

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.

ReleasePackageFixed inAdvisory
Debian 14 shiro 1.2.5-1 —
Debian 13 shiro 1.2.5-1 —
Debian 12 shiro 1.2.5-1 —
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

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简单的漏洞复现代码

  • 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.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.shiro:shiro-core < 1.2.5 1.2.5 GHSA-p836-389h-j692

Advisories 2

References