一、 漏洞 CVE-2017-9805 基础信息
漏洞信息
                                        # N/A

## 漏洞概述
Apache Struts 2 中的 REST 插件在处理 XML 数据时使用了 XStreamHandler,但由于没有进行类型过滤,导致在反序列化 XML 数据时存在远程代码执行漏洞。

## 影响版本
- Apache Struts 2.1.1 至 2.3.x 版本(低于 2.3.34)
- Apache Struts 2.5.x 版本(低于 2.5.13)

## 漏洞细节
REST 插件使用了 XStreamHandler 进行 XML 数据的反序列化。由于 XStream 实例在反序列化过程中没有启用类型过滤,攻击者可以通过构造特定的 XML 数据包触发远程代码执行。

## 影响
此漏洞可能导致远程代码执行,攻击者可以利用此漏洞在受影响的服务器上执行任意代码,从而控制服务器或进一步发起攻击。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
N/A
来源:美国国家漏洞数据库 NVD
漏洞描述信息
The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to Remote Code Execution when deserializing XML payloads.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Apache Struts 代码问题漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
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有效载荷时没有进行任
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
代码问题
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2017-9805 的公开POC
# POC 描述 源链接 神龙链接
1 CVE 2017-9805 https://github.com/luc10/struts-rce-cve-2017-9805 POC详情
2 cve -2017-9805 https://github.com/hahwul/struts2-rce-cve-2017-9805-ruby POC详情
3 An exploit for Apache Struts CVE-2017-9805 https://github.com/mazen160/struts-pwn_CVE-2017-9805 POC详情
4 An exploit for Apache Struts CVE-2017-9805 https://github.com/Lone-Ranger/apache-struts-pwn_CVE-2017-9805 POC详情
5 Exploit script for Apache Struts2 REST Plugin XStream RCE (‎CVE-2017-9805) https://github.com/0x00-0x00/-CVE-2017-9805 POC详情
6 CVE-2017-9805 - Exploit https://github.com/BeyondCy/S2-052 POC详情
7 Better Exploit Code For CVE 2017 9805 apache struts https://github.com/chrisjd20/cve-2017-9805.py POC详情
8 Simple python script to fuzz site for CVE-2017-9805 https://github.com/UbuntuStrike/struts_rest_rce_fuzz-CVE-2017-9805- POC详情
9 A script to Fuzz and and exploit Apache struts CVE-2017-9805 https://github.com/UbuntuStrike/CVE-2017-9805-Apache-Struts-Fuzz-N-Sploit POC详情
10 None https://github.com/AvishkaSenadheera/CVE-2017-9805---Documentation---IT19143378 POC详情
11 Struts 2.5 - 2.5.12 REST Plugin XStream RCE https://github.com/wifido/CVE-2017-9805-Exploit POC详情
12 None https://github.com/rvermeulen/apache-struts-cve-2017-9805 POC详情
13 Exploit script for Apache Struts2 REST Plugin XStream RCE (‎CVE-2017-9805) https://github.com/jongmartinez/-CVE-2017-9805- POC详情
14 struts2-rest-showcase 2.5.10 https://github.com/z3bd/CVE-2017-9805 POC详情
15 CVE-2017-9805-Exploit https://github.com/0xd3vil/CVE-2017-9805-Exploit POC详情
16 CVE-2017-9805 POC https://github.com/Shakun8/CVE-2017-9805 POC详情
17 The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an instance of XStream for deserialization without any type of filtering, which can lead to remote code execution when deserializing XML payloads. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-9805.yaml POC详情
18 None https://github.com/Threekiii/Awesome-POC/blob/master/%E4%B8%AD%E9%97%B4%E4%BB%B6%E6%BC%8F%E6%B4%9E/Apache%20Struts2%20S2-052%20%E8%BF%9C%E7%A8%8B%E4%BB%A3%E7%A0%81%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E%20CVE-2017-9805.md POC详情
三、漏洞 CVE-2017-9805 的情报信息