工具项目
The outline of the project is loading
小迪安全知识库
-
+
home
Shiro漏洞利用增强版
Shiro漏洞利用增强版
# ShiroAttack2 项目地址:https://github.com/SummerSec/ShiroAttack2 [](https://github.com/SummerSec/ShiroAttack2/tree/master#shiroattack2) ### 一款针对 Shiro-550 漏洞的快速漏洞利用工具 [](https://github.com/SummerSec/ShiroAttack2/tree/master#%E4%B8%80%E6%AC%BE%E9%92%88%E5%AF%B9-shiro-550-%E6%BC%8F%E6%B4%9E%E7%9A%84%E5%BF%AB%E9%80%9F%E6%BC%8F%E6%B4%9E%E5%88%A9%E7%94%A8%E5%B7%A5%E5%85%B7) [](https://github.com/SummerSec/ShiroAttack2) [](https://github.com/SummerSec/ShiroAttack2) [](https://github.com/SummerSec/ShiroAttack2) [](https://github.com/SummerSec/ShiroAttack2) [](https://github.com/SummerSec) [](https://github.com/SummerSec) [](https://twitter.com/SecSummers) > 语言切换 / Language:**[中文](https://github.com/SummerSec/ShiroAttack2/blob/master/README.md)** | [English](https://github.com/SummerSec/ShiroAttack2/blob/master/README_EN.md) 完整使用说明:[docs/USAGE.md](https://github.com/SummerSec/ShiroAttack2/blob/master/docs/USAGE.md) [](https://github.com/SummerSec/ShiroAttack2/blob/master/docs/readme.png) * * * ## Shiro-550 为什么还能用 [](https://github.com/SummerSec/ShiroAttack2/tree/master#shiro-550-%E4%B8%BA%E4%BB%80%E4%B9%88%E8%BF%98%E8%83%BD%E7%94%A8) 2016 年的洞,到现在还能用。不是漏洞本身多高级,而是三个很现实的原因叠在一起。 **第一,默认 Key。** Shiro 1.2.4 及之前版本在 `CookieRememberMeManager` 里硬写了一个 AES Key:`kPH+bIxk5D2deZiIxcaaaA==`。十几年来的教程和脚手架代码一直在拷贝这个值。 **第二,Key 换不掉。** rememberMe 要求客户端和服务端用同一个 Key。一旦 Key 写进了配置文件、Docker 镜像、源码仓库,要替换就得所有节点一起改。 **第三,利用成本足够低。** GUI 点几下就能拿 shell,CLI 可以直接嵌进脚本。 ## 功能特点 [](https://github.com/SummerSec/ShiroAttack2/tree/master#%E5%8A%9F%E8%83%BD%E7%89%B9%E7%82%B9) * JavaFX GUI + CLI 双模式,同一套攻击逻辑 * 多版本 CommonsBeanutils gadget(1.8.3 / 1.9.2 / AttrCompare / ObjectToStringComparator) * 自动 AES 模式切换:CBC 和 GCM 各走一遍,哪个命中锁哪个 * 内存马注入(Filter / Servlet / Interceptor / HandlerMethod / TomcatValve) * 回显类型:TomcatEcho / SpringEcho / DFS-AllEcho / ReverseEcho / NoEcho * 回显生成器(jEG)和内存马生成器(jMG)第三方集成,失败自动回退 Legacy * Shiro Key 替换(6 条注入路径,自动验证新旧 Key) * 自定义请求头、Cookie 合并、POST 型探测 * `--json` 结构化输出,适合脚本化和 AI 调用 * HTTP/HTTPS 代理(支持认证) * Key 生成器
xiaodi
June 8, 2026, 4:26 p.m.
342
0 comment
Forward
Favorites
Last
Next
Scan the QR Code
Copy link
Scan the QR code to share.
Copy link
share
link
type
password
Update password
Validity period
Markdown file
Word document
PDF document
PDF document (print)