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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2022-22965_Spring4Shell — A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it. | Kitploit
工具/GitHubGitHub/ludovicpatho/cve-2022-22965_spring4shell
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingPayload Development
GitHubludovicpatho/cve-2022-22965_spring4shell

CVE-2022-22965_Spring4Shell

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →

关于

A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.

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

CVE-2022-22965_Spring4Shell

CVE-2022-22965(Spring4Shell,SpringShell)是Spring框架中的一个漏洞,它利用数据绑定功能将HTTP请求中存储的数据绑定到应用程序使用的某些对象。该漏洞存在于getCachedIntrospectionResults方法中,攻击者可以通过HTTP请求传递类名来未经授权访问此类对象。当使用特殊对象类时,会导致数据泄露和远程代码执行的风险。此漏洞类似于早已关闭的CVE-2010-1622,该漏洞通过添加类名检查作为修复,以确保名称不匹配classLoader或protectionDomain。

评分影响

根据CVSSv3系统,其评分为严重(CRITICAL)等级。

检测

以下是可用于识别CVE-2022-22965漏洞的检测方法。

  • Florian Roth创建了以下Yara规则,用于检测可能实现的webshell以及概念验证的利用尝试。
  • Hilko Bengen创建了一个用Go编写的本地CVE-2022-22965漏洞扫描器(跨平台兼容),用于搜索通过Maven Central仓库获取的Spring构件。
  • OWASP Dependency Check工具也可用于生成项目和子项目的聚合报告,执行以下命令(需为OWASP Dependency Check添加额外属性):

条件

当前漏洞的条件(如Spring公告中所陈述)可总结如下:

  • JDK 9+
  • 一个易受攻击的Spring Framework版本(<5.2 | 5.2.0-19 | 5.3.0-17)
  • Apache Tomcat作为Spring应用的服务器,打包为WAR
  • 依赖于Spring Framework的spring-webmvc和/或spring-webflux组件

利用方法

root@kitploit:~
python3 exploit.py http://10.10.10.10/

注意: 末尾的斜杠在这里非常重要!

查找联系表单的"action"(我们唯一可用的POST请求)。

root@kitploit:~
<form id="contactForm" action="/" method="post">

action是"/",这意味着我们的目标URL将是:http://10.10.10.10/

下载工具