目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2017-9805 PoC — Apache Struts 代码问题漏洞

来源
关联漏洞
标题: Apache Struts 代码问题漏洞 (CVE-2017-9805)
Description: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有效载荷时没有进行任
Description
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)

文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →