Oracle WebLogic Server - T3 Deserialization RCE (StreamMessageImpl blacklist bypass)
Oracle WebLogic Server (10.3.6.0, 12.1.2.0, 12.1.3.0, 12.2.1.0) is vulnerable to a T3-protocol Java deserialization remote code execution that bypasses the CVE-2015-4852 resolveClass blacklist. The malicious Apache Commons Collections gadget is wrapped inside a `weblogic.jms.common.StreamMessageImpl` object (a non-blacklisted class); when WebLogic deserializes the outer StreamMessageImpl it internally deserializes the embedded gadget bytes without the lookahead filter, achieving RCE. This template performs the T3 handshake, delivers a StreamMessageImpl-wrapped CommonsCollections gadget that runs an OS-neutral `nslookup` against the Nuclei interactsh server, and confirms code execution via the resulting DNS interaction. The payload is pure-JVM/DNS so it works on both Windows and Linux. References: https://nvd.nist.gov/vuln/detail/CVE-2016-0638 https://www.oracle.com/security-alerts/cpuapr2016.html https://github.com/frohoff/ysoserial https://github.com/dr0op/WeblogicScan Remediation: Apply the Oracle Critical Patch Update (April 2016 CPU, CVE-2016-0638) and restrict access to the T3 (7001) port with a connection filter.
domain, subdomain, ipv4