关联漏洞
描述
This includes CVE-2022-22963, a Spring SpEL / Expression Resource Access Vulnerability, as well as CVE-2022-22965, the spring-webmvc/spring-webflux RCE termed "SpringShell".
介绍
# Spring CVE
This includes CVE-2022-22963, a Spring SpEL / Expression Resource Access Vulnerability, as well as CVE-2022-22965, the spring-webmvc/spring-webflux RCE termed "SpringShell".
## CVE-2022-22963
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.
```
python3 poc-CVE-2022-22963.py targets.txt
```
By default whoami is executed on the target and a file vulnerable.txt is created with the URLs that are vulnerable.
## CVE-2022-22965
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.
```
python3 poc-CVE-2022-22965.py --file target.txt
```
## references
* [CVE-2022-22963](https://tanzu.vmware.com/security/cve-2022-22963)
* [CVE-2022-22965](https://tanzu.vmware.com/security/cve-2022-22965)
文件快照
[4.0K] /data/pocs/4209f31bb97a290464a063cfd59d0033bca88e1c
├── [ 897] CVE-2022-22963.yaml
├── [6.9K] LICENSE
├── [1.7K] poc-CVE-2022-22963.py
├── [2.0K] poc-CVE-2022-22965.py
└── [1.3K] README.md
0 directories, 5 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。