字号·· | 护眼
漏洞档案 · 严重

Apache Shiro 反序列化远程代码执行(CVE-2016-4437)

CVE-2016-4437 别名:GHSA-P836-389H-J692
CVSS 9.8 / 3.1 EPSS 93.0% CISA KEV 在野利用 公开 PoC · 8 Nuclei 模板
综合风险95/ 100
CVSS9.8严重
EPSS93.0%30 天利用概率
机构收录时间2016-06-07更新 2026-12-03

研判简报

概述

Apache Shiro 在未为 “remember me” 功能配置 cipher key 时,会使用默认密钥处理 rememberMe Cookie;攻击者可构造恶意请求参数,实现远程代码执行或绕过访问限制。该漏洞利用门槛低、影响为完全控制,且已存在公开检测模板与多条 PoC。使用 Shiro 做认证/会话管理的 Java Web 应用(含集成于 JBoss Fuse 等产品的部署)应重点关注。

严重性

官方记录 CVSS 9.8(3.1 版),综合风险分 94.81/100;EPSS 30 天利用概率 93.0%(百分位 99.8%,日期 2026-11-23)。攻击面为网络可达的 HTTP 接口,无需认证即可尝试。

利用状态

CISA KEV 已收录(2021-11-03),SSVC 判定 automatable=yes、exploitation=active、technical_impact=total;已有公开 Nuclei 模板(http/cves/2016/CVE-2016-4437.yaml)及 Exploit-DB/公开 PoC 5 条。以上状态核查日期为 2026-11-24。材料未给出勒索软件关联信息。

受影响产品

官方记录“受影响”字段为材料未给出。参考材料中的 Nuclei 模板描述称 Apache Shiro before 1.2.5 受影响,并给出 CPE cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*;该版本区间来自参考材料,非官方记录,需以厂商公告核实。组件为 “remember me” 功能;部署形态涉及使用 Shiro 的 Java Web 应用,Red Hat JBoss Fuse 6.3 的更新公告亦提及该 CVE。

修复版本

材料未给出官方修复版本号。KEV 要求动作仅为“Apply updates per vendor instructions.”(期限 2022-05-03);Nuclei 模板 remediation 写“Upgrade to a patched version of Apache Shiro”,未给具体版本。参考材料提及 Shiro 1.2.5 之前受影响,与官方记录无直接冲突但属非官方来源,应以 Apache 公告为准。

缓解措施

材料未给出具体缓解配置。可参考的替代动作:按厂商说明升级;在无法立即升级时,为 “remember me” 功能显式配置非默认 cipher key(该方向来自问题描述中“未配置 cipher key”的成因,具体操作材料未给出);限制暴露面并监测异常 rememberMe Cookie。KEV 仅要求按厂商说明应用更新。

响应步骤

  1. 盘点使用 Apache Shiro 的应用与 JBoss Fuse 等集成部署,确认 “remember me” 是否启用及 cipher key 配置状态。
  2. 按厂商公告核实受影响版本区间(材料未给出官方区间),优先升级至厂商修复版本。
  3. 用 Nuclei 模板 CVE-2016-4437.yaml 或等价手段做授权范围内的检测,重点观察 rememberMe Cookie 反序列化与 OAST 回连。
  4. 检查 HTTP 访问日志中可疑 rememberMe Cookie 与异常反序列化请求,排查是否已遭利用。
  5. 对无法及时升级的系统,按上文缓解措施收敛暴露面并加强监测。
  6. 留存检测与处置记录,按 KEV 要求跟踪厂商更新状态。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2016-4437kev
  2. https://www.exploit-db.com/exploits/48410exploit,exploitdb
  3. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2016/CVE-2016-4437.yamlexploit,nuclei
  4. http://rhn.redhat.com/errata/RHSA-2016-2035.htmlvendor-advisory,x_refsource_REDHAT,vendor-advisory,x_refsource_REDHAT,x_transfer
  5. https://lists.apache.org/thread.html/ef3a800c7d727a00e04b78e2f06c5cd8960f09ca28c9b69d94c3c4c4%40%3Cannouncements.aurora.apache.org%3Emailing-list,x_refsource_MLIST,mailing-list,x_refsource_MLIST,x_transferred,Mail
  6. http://packetstormsecurity.com/files/137310/Apache-Shiro-1.2.4-Information-Disclosure.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,Third Party Advisory,VDB Entry
  7. http://rhn.redhat.com/errata/RHSA-2016-2036.htmlvendor-advisory,x_refsource_REDHAT,vendor-advisory,x_refsource_REDHAT,x_transfer
  8. http://www.securityfocus.com/bid/91024vdb-entry,x_refsource_BID,vdb-entry,x_refsource_BID,x_transferred,Broken Link,Th
  9. http://www.securityfocus.com/archive/1/538570/100/0/threadedmailing-list,x_refsource_BUGTRAQ,mailing-list,x_refsource_BUGTRAQ,x_transferred,
  10. http://packetstormsecurity.com/files/157497/Apache-Shiro-1.2.4-Remote-Code-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,Exploit,Third Party Advisory,VDB
  11. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-4437government-resource,US Government Resource
  12. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_multi/http/shiro_rememberme_v124_deserializeexploit,metasploit
  13. https://euvd.enisa.europa.eu/enisa/EUVD-2022-4711kev
  14. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev
  15. https://securelist.com/strikeshark-campaign/120326/kev
  16. https://www.hkcert.org/blog/strikeshark-campaign-exploits-known-vulnerabilities-to-deploy-cobalt-strike-via-sharkloaderkev