CVE-2018-2628 — Oracle WebLogic Server Unspecified Vulnerability

CVE-2018-2628

WebLogic T3 Deserialization RCE — Patched, Public PoC Within Days, Then Mass-Exploited by Cryptominers

What is Oracle WebLogic Server?

Oracle WebLogic Server is a widely deployed Java EE application server used to run enterprise business applications — everything from internal line-of-business systems to customer-facing portals — at large organizations, government agencies, and service providers worldwide. Its scale of deployment, combined with the fact that many installations run as privileged services with significant CPU resources, makes it a long-running favorite target for both nation-state actors and financially motivated attackers, especially cryptomining operations looking for powerful, poorly monitored servers.

Overview

CVE-2018-2628 is a critical, unauthenticated remote code execution vulnerability in WebLogic Server reachable via its T3 protocol, which WebLogic uses for RMI (Remote Method Invocation) communication between clustered servers and clients. An attacker with only network access to the T3 listener — no credentials required — can send a malicious serialized Java object that, when deserialized by the server, triggers arbitrary code execution.

Technical Details

The vulnerability is a Java deserialization flaw (CWE-502): WebLogic's T3 protocol handler deserializes objects from incoming network traffic without adequately restricting which classes can be instantiated during that process. By crafting a serialized object payload that leverages "gadget chains" available on the server's classpath (a technique widely popularized around this era via libraries like Apache Commons Collections), an attacker can cause arbitrary code to run as a side effect of the deserialization process itself — before any application-level authentication check is ever reached. A single network request against the T3 port is sufficient; no user interaction or prior access is needed.

Discovery

The vulnerability was fixed by Oracle as part of its April 2018 Critical Patch Update. Within days of the patch's release, independent researchers reverse-engineered the fix and published working proof-of-concept exploit code, which is common for WebLogic deserialization bugs and dramatically accelerated real-world exploitation.

Exploitation Context

CVE-2018-2628 was one of the most heavily and rapidly weaponized WebLogic vulnerabilities of its era. Once public PoC exploit code circulated, opportunistic scanning and exploitation began almost immediately, with cryptomining campaigns (including activity associated with groups tracked under names such as the "8220 Gang," known for chaining multiple WebLogic and other Java deserialization vulnerabilities) using it to deploy Monero-mining malware at scale on compromised WebLogic servers, alongside worm-like self-propagating exploitation attempts. CISA's KEV listing, added in 2022, reflects that unpatched WebLogic servers remain targeted for this vulnerability years after the original patch.

Remediation

  1. Apply Oracle's April 2018 Critical Patch Update (or a later cumulative CPU) to all WebLogic Server deployments — this vulnerability has been patched for years, so any exposure at this point reflects a severe patch-management gap.
  2. Restrict or firewall the WebLogic T3 protocol port from any untrusted network, since exploitation occurs directly over this protocol.
  3. Where feasible, disable the T3 protocol entirely on servers that don't require it for clustering or RMI communication.
  4. Monitor WebLogic servers for unexpected CPU spikes, unfamiliar processes, or outbound connections to mining pools — classic indicators of cryptomining payloads delivered via this vulnerability.
  5. Review WebLogic access logs for anomalous T3 traffic patterns consistent with deserialization exploit attempts, and treat any internet-facing WebLogic instance as high priority for immediate patching.

Key Details

PropertyValue
CVE ID CVE-2018-2628
Vendor / Product Oracle — WebLogic Server
NVD Published2018-04-19
NVD Last Modified2025-10-27
CVSS 3.1 Score9.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-502 find similar ↗
CISA KEV Added2022-09-08
CISA KEV Deadline2022-09-29
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2022-09-29. Apply updates per vendor instructions.

Timeline

DateEvent
2018-04-19Fixed and disclosed as part of Oracle's April 2018 Critical Patch Update
2018-04Public proof-of-concept exploit code released within days of the patch, reverse-engineered from the fix
2018-2019Mass-exploited by cryptomining botnets and worms targeting internet-facing WebLogic servers
2022-09-08Added to CISA Known Exploited Vulnerabilities catalog
2022-09-29CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2018-2628 Vulnerability Database
CISA KEV Catalog Entry US Government
Oracle Critical Patch Update — April 2018 Vendor Advisory