POC详情: e4d9f69660bfcdfa3608c3eb2b4504b244294ba5

来源
关联漏洞
标题: Spring Framework 输入验证错误漏洞 (CVE-2022-22970)
描述:Spring Framework是美国Spring团队的一套开源的Java、JavaEE应用程序框架。该框架可帮助开发人员构建高质量的应用。 Spring Framework 存在输入验证错误漏洞,攻击者利用该漏洞可通过将数据绑定到MultipartFile导致Spring Framework致命的错误,从而触发拒绝服务。
介绍
# Spring CVE-2022-22970

## Proof of Concept

This repo contains a Development Container environment and Spring application of the correct version specifically to explore this CVE.

### Setup Instructions
Clone the repo to your machine and use Docker and your favorite IDE.

OR

Use GitPod online with `https://gitpod.io/#<URL to this repo>`

OR

Use GitPod Desktop:

1. [Download GitPod Desktop](https://www.gitpod.io/gitpod-desktop/download) and install it.
1. Click Projects.
1. Click New Environment.
1. Provide the URL of this repo.

Within the development environment you've chosen above:
1. Run the app:
<pre>
cd spring-cve-harness
mvn spring-boot:run
</pre>
2. Perform the exploit.

Don't forget to commit your changes back to this repo.

## Useful URLs
Development Containers Project Page
- https://containers.dev

Development Containers Images
- https://github.com/devcontainers/images

Developing inside a container
- https://code.visualstudio.com/docs/devcontainers/containers

Container Guides
- https://containers.dev/guides




文件快照
 [4.0K]  /data/pocs/e4d9f69660bfcdfa3608c3eb2b4504b244294ba5
├── [1.0K]  README.md
└── [4.0K]  spring-cve-harness
    ├── [1.9K]  pom.xml
    └── [4.0K]  src
        ├── [4.0K]  main
        │   ├── [4.0K]  java
        │   │   └── [4.0K]  com
        │   │       └── [4.0K]  example
        │   │           └── [3.0K]  App.java
        │   └── [4.0K]  resources
        │       └── [4.0K]  static
        │           └── [ 11K]  HeroDevsLogo.jpg
        └── [4.0K]  test
            └── [4.0K]  java
                └── [4.0K]  com
                    └── [4.0K]  example
                        └── [ 259]  AppTest.java

12 directories, 5 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。