关联漏洞
标题:
Apache Struts 代码问题漏洞
(CVE-2017-9805)
描述:Apache Struts是美国阿帕奇(Apache)软件基金会的一个开源项目,是一套用于创建企业级Java Web应用的开源MVC框架,主要提供两个版本框架产品,Struts 1和Struts 2。REST plugin是其中的一个处理传入URL请求的插件。 Apache Struts 2.5版本至2.5.12版本和2.1.2版本至2.3.33版本的REST插件存在远程代码执行漏洞。当Struts2通过REST插件使用XStream的实例xstreamhandler处理反序列化XML有效载荷时没有进行任
描述
An exploit for Apache Struts CVE-2017-9805
介绍
*apache-struts-pwn - CVE-2017-9805 Exploit*
============
### An exploit for Apache Struts CVE-2017-9805 ###
# **Usage** #
## Check if the vulnerability exists against a single URL. ##
`python apache-struts-pwn.py --url 'http://example.com/struts2-rest-showcase/orders/3'`
## Check if the vulnerability exists against a list of URLs. ##
`python apache-struts-pwn.py --list 'urls.txt'`
## Exploit a single URL. ##
`python apache-struts-pwn.py --exploit --url 'http://example.com/struts2-showcase/index.action' -c 'echo test > /tmp/apache-struts-pwn'`
## Exploit a list of URLs. ##
`python apache-struts-pwn.py --exploit --list 'urls.txt' -c 'echo test > /tmp/apache-struts-pwn'`
# **Requirements** #
* Python2 or Python3
* requests
# **Legal Disclaimer** #
This project is made for educational and ethical testing purposes only. Usage of struts-pwn for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.
# **License** #
The project is licensed under MIT License.
# **Author** #
*Mazin Ahmed*
* Website: [https://lonerangerweb.wordpress.com/](https://lonerangerweb.wordpress.com/)
* Email: *ultimate31337[AT]gmail[DOT]com*
* Twitter: [https://twitter.com/lon3_rang3r](https://twitter.com/lon3_rang3r)
文件快照
[4.0K] /data/pocs/e81dc5df75bad8f5022ce28763fd0e93f2099662
├── [ 13K] apache-struts-pwn.py
├── [1.0K] LICENSE
├── [1.4K] README.md
└── [ 18] requirements.txt
0 directories, 4 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。