Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2022-22965 PoC — Spring Framework 代码注入漏洞

Source
Associated Vulnerability
Title:Spring Framework 代码注入漏洞 (CVE-2022-22965)
Description: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.
Description
CVE-2022-22965写入冰蝎webshell脚本
Readme
# Spring4shell_behinder

## 这是什么?

一个针对spring4shell漏洞(CVE-2022-22965)的批量快速利用工具

## 贡献者

[4nth0ny](https://github.com/4nth0ny1130) @星期五实验室

欢迎提issues/pr

:)

## 环境

*   python 3.x
*   Behinder3.0 Beta9

## 安装

```
python3 -m pip install -r requirements.txt
```

## 用法

```
python3 spring_rce.py test.txt
```

test.txt

```
http://127.0.0.1:8080/
http://127.0.0.2:8080/
http://127.0.0.3:8080/
```

如需指定参数绑定的路由,请修改第128行,自行添加进列表,脚本会自动拼接端点至每一个URL中尝试

![](README.assets/image-20220407140858422.png)

## 例子

本工具会根据目标数量自动分配合理的线程,并将结果打印至终端

### ![](README.assets/image-20220407154418550.png)

使用冰蝎3.0 beta9连接:

![](README.assets/image-20220407154408474.png)

## 免责声明

本工具仅能在取得足够合法授权的企业安全建设中使用,在使用本工具过程中,您应确保自己所有行为符合当地的法律法规。 如您在使用本工具的过程中存在任何非法行为,您将自行承担所有后果,本工具所有开发者和所有贡献者不承担任何法律及连带责任。 除非您已充分阅读、完全理解并接受本协议所有条款,否则,请您不要安装并使用本工具。 您的使用行为或者您以其他任何明示或者默示方式表示接受本协议的,即视为您已阅读并同意本协议的约束。
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →