(CVE-2017-5638) XworkStruts RCE 漏洞测试脚本
Apache Struts 2 2.3.x(2.3.32 之前)和 2.5.x(2.5.10.1 之前)中的 Jakarta Multipart 解析器在文件上传尝试期间存在错误的异常处理和错误消息生成,从而使远程攻击者能够通过精心构造的 Content-Type、Content-Disposition 或 Content-Length HTTP 头执行任意命令。该漏洞已于 2017 年 3 月在野外被利用,攻击者使用的 Content-Type 头中包含 #cmd= 字符串。
用法>
python XworkStruts RCE (CVE-2017-5638).py <dst_ip> <dst_port> (user defined port)
python XworkStruts RCE (CVE-2017-5638).py <dst_ip> (default : 80/tcp)
[已更新!] 脚本已针对 Python3 进行修改。
仅用于对您的系统进行漏洞测试