关联漏洞
标题:
Apache Struts 安全漏洞
(CVE-2023-50164)
描述:Apache Struts是美国阿帕奇(Apache)基金会的一个开源项目,是一套用于创建企业级Java Web应用的开源MVC框架,主要提供两个版本框架产品,Struts 1和Struts 2。 Apache Struts 存在安全漏洞,该漏洞源于file upload参数存在路径遍历漏洞。攻击者可利用该漏洞上传恶意文件并执行远程代码。受影响的产品和版本:Apache Struts 2.0.0至2.5.32版本,6.0.0至6.3.0.1版本。
介绍
# Contains vulnerable WAR file and docker file that can be used to test CVE-2023-50164-Apache-Struts-RCE.
This dockerfile and vulnerable application is compiled and designed using resources and code from https://github.com/jakabakos/CVE-2023-50164-Apache-Struts-RCE. Thanks to him for such a detailed resource and exploit.
Do check out the repository and blog mentioned in the reference section for in depth analysis and exploit script.
The vulnerable file upload action can be accessed via http://ip-address:port/upload-1.0.0/upload.action.
## Build:

## Run:

## Reference:
https://www.vicarius.io/vsociety/posts/apache-struts-rce-cve-2023-50164
https://github.com/jakabakos/CVE-2023-50164-Apache-Struts-RCE
文件快照
[4.0K] /data/pocs/ec43e807dea682b0a41c9e6748293b7be14ef966
├── [ 633] Dockerfile
├── [ 992] README.md
└── [5.2M] upload-1.0.0.war
0 directories, 3 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。