Awesome-POC/Web服务器漏洞/Apache Shiro 小于1.2.4反序列化漏洞 CVE-2016-4437.md
2022-02-21 10:26:43 +08:00

1.5 KiB
Raw Blame History

Apache Shiro 小于1.2.4反序列化漏洞 CVE-2016-4437

漏洞描述

Apache Shiro是一款开源安全框架提供身份验证、授权、密码学和会话管理。Shiro框架直观、易用同时也能提供健壮的安全性。 Apache Shiro 1.2.4及以前版本中加密的用户信息序列化后存储在名为remember-me的Cookie中。攻击者可以使用Shiro的默认密钥伪造用户Cookie触发Java反序列化漏洞进而在目标机器上执行任意命令。

影响版本

Apache Shiro <= 1.2.4

漏洞环境

https://github.com/vulhub/vulhub.git
cd vulhub/shiro/CVE-2016-4437
docker-compose up -d

访问http://xxx.xxx.xxx.xxx:8080/login正常即可

1

漏洞复现

Shiro已经有比较完善的工具

https://github.com/insightglacier/Shiro_exploit
https://github.com/feihong-cs/ShiroExploit/releases/tag/v2.51

这里使用的是 ShiroExploit 工具进行复现

2

打开后输入url即可

3

成功反弹shell

4

参考文章

Shiro RememberMe 1.2.4远程代码执行漏洞-详细分析