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.
Description
springFramework_CVE-2022-22965_RCE简单利用
Readme
# spring-core-rce  
spring core rce 简单利用  

war可以使用  
https://github.com/fengguangbin/spring-rce-war  
docker环境可以使用  
https://github.com/lunasec-io/Spring4Shell-POC  

也可以使用vulfocus的在线环境  
http://vulfocus.io/  
或者vulhub的靶场  
https://github.com/vulhub/vulhub/tree/master/spring/CVE-2022-22965  

vulfocus环境冰蝎马能够写入但无法连接,新增了哥斯拉shell进行测试  

指定url和type即可  
type(默认为1)  
  1  --> 测试漏洞是否存在  
  2  --> 冰蝎马注入,密码rebeyond  
  3  --> 哥斯拉马注入,密码pass  
可选参数  
  filename  --> 文件名(默认inject)  
  directory  --> 写入路径(默认webapps/ROOT)  
File Snapshot

[4.0K] /data/pocs/3452d7c6014281190b7ae05fa93a84c0717e01e7 ├── [6.0K] rce.py └── [ 725] README.md 0 directories, 2 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 →