Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2023-50164-ApacheStruts2-Docker — 针对 Apache Struts 2 RCE CVE-2023-50164 的漏洞 Docker 容器 | Kitploit
工具/GitHubGitHub/trackflaw/cve-2023-50164-apachestruts2-docker
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育实验室与实践
GitHubtrackflaw/cve-2023-50164-apachestruts2-docker

CVE-2023-50164-ApacheStruts2-Docker

针对 Apache Struts 2 RCE CVE-2023-50164 的漏洞 Docker 容器

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
查看仓库
742年前尚未审核

CVE-2023-50164:Apache Struts 2 漏洞 Docker 容器

Apache 最近发布了关于 CVE-2023-50164 的安全公告,这是一个严重等级为 9.8 的关键漏洞,影响 Apache Struts 2。

CVE-2023-50164 与组织的 Apache Struts 架构及其文件上传功能的使用方式密切相关,它允许未经授权的路径遍历,可能被滥用来上传恶意文件并执行远程代码(RCE)。

此仓库包含一个 Dockerfile,用于理解和操作该漏洞。未提供武器化的利用代码。

使用方法

以下是运行该实验环境的命令(可在你的 shell 中复制/粘贴):

root@kitploit:~
git clone https://github.com/Trackflaw/CVE-2023-50164-ApacheStruts2-Docker.git
cd CVE-2023-50164-ApacheStruts2-Docker
docker build --ulimit nofile=122880:122880 -m 3G -t cve-2023-50164 .
docker run -p 8080:8080 --ulimit nofile=122880:122880 -m 3G --rm -it --name cve-2023-50164 cve-2023-50164
curl http://localhost:8080/upload.action

使用 curl 验证来检查应用是否可用。

root@kitploit:~
curl http://localhost:8080/upload.action

<html>
<head>
    <title>File upload</title>
</head>
<body>
    <h1>💣 CVE-2023-50164</h1>
    <p>Welcome to CVE-2023-50164 lab. You can practice with the file upload feature below. Find a way yo bypass the filter 😉</p>

    <form id="upload" name="upload" action="/upload.action" method="post" enctype="multipart/form-data">
        <table class="wwFormTable">
            <tr>
                <td class="tdLabel"></td>
                <td class="tdInput"><input type="file" name="upload" id="upload_upload" /></td>
            </tr>
            <tr>
                <td colspan="2">
                    <div class="formButton"><input type="submit" value="Submit" id="upload_0" />
                    </div>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>

玩得开心!😉

视频

Apache Struts 2 - 远程代码执行

来源

该项目深受 Jakabakos 的工作 启发。

以下是了解该漏洞的文章列表:

  • https://xz.aliyun.com/t/13172
  • https://www.trendmicro.com/en_no/research/23/l/decoding-cve-2023-50164--unveiling-the-apache-struts-file-upload.html
下载工具