CVE-2023-21839 — Oracle WebLogic Server Unspecified Vulnerability

CVE-2023-21839

Oracle WebLogic Server — Unauthenticated Deserialization via T3/IIOP → Sensitive Data Disclosure; January 2023 Critical Patch Update

What is Oracle WebLogic Server?

Oracle WebLogic Server is Oracle's Java EE application server, used by enterprises to host critical business applications, middleware, APIs, and Java-based services. WebLogic is widely deployed in banking, healthcare, government, and large enterprise environments. It exposes T3 (a proprietary Oracle protocol for Java Remote Method Invocation) and IIOP (Internet Inter-ORB Protocol, the CORBA transport) interfaces — by default on port 7001 (HTTP), port 7002 (HTTPS), and port 2809 (IIOP) — for distributed Java object communication. These protocols support Java object serialization and deserialization, and WebLogic has a long history of critical deserialization vulnerabilities exploited by attackers to access sensitive data or execute code on WebLogic hosts.

Overview

CVE-2023-21839 is an unauthenticated deserialization vulnerability (CWE-502) in Oracle WebLogic Server patched in the January 2023 Critical Patch Update (CPU). An unauthenticated remote attacker with network access to the T3 or IIOP port can send a specially crafted serialized Java object that exploits deserialization gadget chains in WebLogic's classpath. Unlike some WebLogic deserialization vulnerabilities that achieve arbitrary code execution, the primary confirmed impact for CVE-2023-21839 is information disclosure (C:H/I:N/A:N) — an attacker can extract sensitive data from the WebLogic server's Java environment, including credentials, environment variables, and configuration data, without authentication.

CISA added CVE-2023-21839 to the KEV catalog on May 1, 2023 — three months after the January 2023 CPU — confirming active exploitation of unpatched WebLogic instances.

Affected Versions

Product Affected Fixed
WebLogic Server 12.2.1.3.0 Yes January 2023 CPU patch
WebLogic Server 12.2.1.4.0 Yes January 2023 CPU patch
WebLogic Server 14.1.1.0.0 Yes January 2023 CPU patch

Technical Details

WebLogic's T3 and IIOP protocols accept serialized Java objects from remote clients as part of normal distributed-component communication. Deserialization vulnerabilities (CWE-502) arise when the server deserializes attacker-controlled bytes without first validating the object type against a safe allowlist. During deserialization, Java's object reconstruction mechanism invokes methods on the deserialized objects — including readObject() callbacks — which can be chained through "gadget chains" present in commonly bundled libraries.

For CVE-2023-21839, the deserialization flow reaches a code path that can be manipulated to:

  • Access and exfiltrate sensitive server-side data (environment variables, credentials, configuration)
  • Interact with JNDI (Java Naming and Directory Interface) lookups in ways that may disclose internal naming service contents

The C:H/I:N/A:N CVSS score (confidentiality impact only) indicates that while the vulnerability confirms reliable data disclosure, exploitation for code execution via this specific issue requires additional preconditions or chaining with other vulnerabilities.

Oracle classifies CVE-2023-21839 as affecting the "Core" component of WebLogic, accessible via the T3 and IIOP network protocols — both of which are enabled by default.

Discovery

Oracle published CVE-2023-21839 in the January 2023 CPU. The three-month gap between publication and CISA KEV addition (May 1, 2023) suggests exploitation was detected after public proof-of-concept code became available, which is a common pattern for WebLogic deserialization vulnerabilities — PoC tools allow rapid weaponization by a broad range of threat actors.

Exploitation Context

Oracle WebLogic Server is a persistent target for automated scanning and exploitation. WebLogic deserialization vulnerabilities are routinely exploited by:

  • Cryptomining operators — compromising WebLogic servers to install cryptocurrency miners (Monero, etc.)
  • Initial access brokers — selling WebLogic access to ransomware affiliates
  • Nation-state actors — targeting WebLogic deployments in government and financial sectors for intelligence collection

The T3 and IIOP ports (7001, 7002, 2809) are frequently internet-exposed on enterprise WebLogic deployments, making them accessible to automated exploit scanners. The three-month gap to KEV addition is consistent with a pattern where attackers reverse-engineer the January 2023 CPU patch and develop working exploit code that begins circulating in the months following the patch release.

Remediation

  1. Apply the January 2023 Oracle CPU (or the most recent CPU, which is cumulative) — patches CVE-2023-21839 for all affected WebLogic versions.
  2. Block T3 and IIOP from untrusted networks — the WebLogic admin console provides connection filters (weblogic.security.net.ConnectionFilterImpl) to restrict T3/IIOP access to known trusted hosts; apply these immediately if the January 2023 CPU cannot be applied immediately.
  3. Disable T3 and IIOP if not required — if distributed Java communication is not used, disable T3 and IIOP in the WebLogic console under Protocols settings.
  4. Restrict WebLogic listen ports — WebLogic ports (7001, 7002) should never be directly internet-accessible; place them behind a firewall or load balancer that limits access to authorized clients.
  5. Apply quarterly Oracle CPUs — Oracle patches WebLogic deserialization vulnerabilities regularly; skipping even one quarterly CPU cycle can leave known exploitable issues unpatched.

Key Details

PropertyValue
CVE ID CVE-2023-21839
Vendor / Product Oracle — WebLogic Server
NVD Published2023-01-18
NVD Last Modified2025-10-27
CVSS 3.1 Score7.5
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
SeverityHIGH
CWE CWE-502 find similar ↗
CISA KEV Added2023-05-01
CISA KEV Deadline2023-05-22
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
None
Availability
None

Required Action

CISA BOD 22-01 Deadline: 2023-05-22. Apply updates per vendor instructions.

Timeline

DateEvent
2023-01-17Oracle January 2023 Critical Patch Update (CPU) released — patches CVE-2023-21839 in WebLogic Server 12.2.1.3.0, 12.2.1.4.0, and 14.1.1.0.0
2023-01-18CVE-2023-21839 formally published
2023-05-01CISA adds CVE-2023-21839 to the Known Exploited Vulnerabilities catalog — three months after the CPU patch
2023-05-22CISA BOD 22-01 remediation deadline