{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.shiro:shiro-core. It affects 4 products.","exploited":"Yes. Attackers have exploited CVE-2016-4437 in the wild since at least 3 Nov 2021.","fix":"Upgrade org.apache.shiro:shiro-core to 1.2.5 or later. US federal agencies must fix it by 3 May 2022.","what":"CVE-2016-4437 is a critical vulnerability in n/a, published on 7 Jun 2016. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-4437 and fix it if it is affected.\n\nWhat it is: CVE-2016-4437 is a critical vulnerability in n/a, published on 7 Jun 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2016-4437 in the wild since at least 3 Nov 2021.\n\nAffected packages and fixed versions:\n- org.apache.shiro:shiro-core (Maven): affected all versions; fixed in 1.2.5\n- org.apache.shiro:shiro-core (Maven): affected all versions; fixed in 1.2.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2016-4437/ (Markdown: https://insights.sbomify.com/CVE-2016-4437/index.md)","id":"CVE-2016-4437","markdown":"https://insights.sbomify.com/CVE-2016-4437/index.md","name":"CVE-2016-4437","record":{"aliases":["DEBIAN-CVE-2016-4437","GHSA-p836-389h-j692","UBUNTU-CVE-2016-4437","USN-7139-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Java security library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code or bypass access restrictions in Apache Shiro if the remember-me cipher key is not configured.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"aurora","vendor":"apache"},{"product":"shiro","vendor":"apache"},{"product":"fuse","vendor":"redhat"},{"product":"jboss_middleware_text-only_advisories","vendor":"redhat"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":1,"first_seen":"2016-06-07","github_poc":7,"max_poc_stars":55,"metasploit":1,"nuclei":1,"refs":[{"date":"2020-05-27T05:02:04Z","kind":"github_poc","ref":"https://github.com/bkfish/Awesome_shiro","stars":55,"title":"CVE-2016-4437-Shiro反序列化爆破模块和key,命令执行，反弹shell的脚本"},{"date":"2021-12-23T16:29:59Z","kind":"github_poc","ref":"https://github.com/4nth0ny1130/shisoserial","stars":24,"title":"一个针对shiro反序列化漏洞(CVE-2016-4437)的快速利用工具/A simple tool targeted at shiro framework attacks with ysoserial."},{"date":"2023-12-22T02:26:01Z","kind":"github_poc","ref":"https://github.com/pizza-power/CVE-2016-4437","stars":2,"title":"Python POC to Exploit CVE-2016-4437 Apache Shiro Deserialization Vulnerability Due to Hardcode Encryption Key"},{"date":"2026-02-19T05:10:14Z","kind":"github_poc","ref":"https://github.com/35789-gh/cve-2016-4437","stars":1,"title":"这是基于cve-2016-4437简单的漏洞复现代码"},{"date":"2016-06-07","kind":"metasploit","ref":"exploit/multi/http/shiro_rememberme_v124_deserialize","stars":null,"title":"Apache Shiro v1.2.4 Cookie RememberME Deserial RCE"},{"date":"2020-05-01","kind":"exploitdb","ref":"48410","stars":null,"title":"Apache Shiro 1.2.4 - Cookie RememberME Deserial RCE (Metasploit)"},{"date":"2021-06-22T06:08:55Z","kind":"github_poc","ref":"https://github.com/m3terpreter/CVE-2016-4437","stars":0,"title":null},{"date":"2024-01-15T08:24:40Z","kind":"github_poc","ref":"https://github.com/xk-mt/CVE-2016-4437","stars":0,"title":"1.验证CVE-2016-4437、2.解析rememberMe的文件和CBC加密的IV偏移"}],"tier":"exploited"},"has_fix":true,"headline":"Apache Shiro Code Execution","id":"CVE-2016-4437","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","product":"Shiro","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Apache","vulnerabilityName":"Apache Shiro Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"hardcoded_credentials","year":"2016"},"n_packages":2,"n_references":7,"next":{"headline":"Arbitrary code execution in Apache Struts 2","id":"CVE-2016-4438"},"packages":[{"ecosystem":"Maven","fixed":["1.2.5"],"introduced":["0"],"last_affected":[],"package":"org.apache.shiro:shiro-core","purl":null,"source":"GHSA-p836-389h-j692"},{"ecosystem":"Maven","fixed":["1.2.5"],"introduced":["0"],"last_affected":[],"package":"org.apache.shiro:shiro-core","purl":"pkg:maven/org.apache.shiro/shiro-core","source":"GHSA-p836-389h-j692"}],"prev":{"headline":"Apache Struts improper action name cleanup","id":"CVE-2016-4436"},"products":["n/a"],"published":"2016-06-07","related":[{"cvss_score":9.1,"headline":"Apache Aurora: padding oracle can allow construction an authentication cookie","id":"CVE-2024-27905","kev_date_added":null,"published":"2024-02-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code or bypass access restrictions in Apache Shiro if the remember-me cipher key is not configured.","url":"https://insights.sbomify.com/CVE-2016-4437/"}