目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1310

100%

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

来源
关联漏洞
标题:Spring Framework 代码注入漏洞 (CVE-2022-22963)
Description:Spring Framework是美国Spring团队的一套开源的Java、JavaEE应用程序框架。该框架可帮助开发人员构建高质量的应用。 Spring Framework 存在代码注入漏洞。目前暂无该漏洞信息,请随时关注CNNVD或厂商公告。
介绍
# CVE-2022-22963 Exploit

## Description


In Spring Cloud Function versions 3.1.6, 3.2.2 and older unsupported versions, when using routing functionality it is possible for a user to provide a specially crafted SpEL as a routing-expression that may result in remote code execution and access to local resources. more details can be found in the [CVE-2022-22963 Detail](https://nvd.nist.gov/vuln/detail/CVE-2022-22963).

Based on the PoC provided by [AayushmanThapaMagar](https://github.com/AayushmanThapaMagar/CVE-2022-22963), I am creating a simple exploit of this vulnerability to get a reverse shell from the vulnerable server.

The porpuse of this project is to make it easier to test the vulnerability and to learn how to exploit it. I will add more details about the reason behind this vulnerability later.
## Requirements

To run this exploit, you only need docker.

## Usage



Clone the repository and run the following command:

```bash
docker-compose up -d
```

This will start two containers, one with the vulnerable server and the other with the attacker machine.

Now you can run the exploit:

### Linux

In Linux, you can run the exploit with the following command:

```bash
./run.sh
```
> Note: you may need sudo to run the commands above.

### Windows

........

## Stop the containers

To stop the containers, run the following command:

```bash
docker-compose down
```
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →