cbcvebase.
CVE-2018-2894
published 2018-07-18

CVE-2018-2894: Vulnerability in the Oracle WebLogic Server component of Oracle Fusion Middleware (subcomponent: WLS - Web Services). Supported versions that are affected are…

PriorityP194critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEVRansomwareInitial access
Exploited in the wild
EPSS
50.22%
98.8th percentile
Vulnerability in the Oracle WebLogic Server component of Oracle Fusion Middleware (subcomponent: WLS - Web Services). Supported versions that are affected are 12.1.3.0, 12.2.1.2 and 12.2.1.3. Easily exploitable vulnerability allows unauthenticated attacker with network access via HTTP to compromise Oracle WebLogic Server. Successful attacks of this vulnerability can result in takeover of Oracle WebLogic Server. CVSS 3.0 Base Score 9.8 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Affected

7 ranges
VendorProductVersion rangeFixed in
oracleweblogic_server
oracleweblogic_server
oracleweblogic_server
oracleweblogic_server
oracle_corporationweblogic_server
oracle_corporationweblogic_server
oracle_corporationweblogic_server

Detection & IOCsextracted from sources · hover to see the quote

url/ws_utc/resources/setting/options
url/ws_utc/resources/setting/keystore
url/ws_utc/css/config/keystore/
path/u01/oracle/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_internal/com.oracle.webservices.wls.ws-testclient-app-wls/4mcj4y/war/css
snort
alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET EXPLOIT Oracle WebLogic Unrestricted File Upload (CVE-2018-2894)"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/ws_utc/resources/setting/keystore"; fast_pattern; http.request_body; content:"ks_filename="; reference:url,github.com/LandGrey/CVE-2018-2894/blob/master/CVE-2018-2894.py; reference:cve,2018-2894; classtype:attempted-admin; sid:2025907; rev:4; metadata:attack_target Server, created_at 2018_07_25, cve CVE_2018_2894, deployment Datacenter, signature_severity Major, updated_at 2024_03_07;)
  • Detect exploitation attempt by monitoring for POST requests to /ws_utc/resources/setting/keystore containing the multipart field 'ks_filename=' — this is the unrestricted file upload vector used to plant a JSP webshell.
  • Detect the workDir manipulation stage: a POST to /ws_utc/resources/setting/options with a body setting BasicConfigOptions.workDir to a web-accessible path (e.g. under /war/css) redirects subsequent uploads to a location reachable via HTTP.
  • Detect webshell access: monitor for GET requests matching the pattern /ws_utc/css/config/keystore/<timestamp>_<name>.jsp — a successful upload followed by a GET to this path indicates active exploitation.
  • The Nuclei template uses the string '26ec00a3a03f6bfc5226fd121567bb58' as a canary word in the uploaded JSP payload; presence of this string in HTTP responses indicates a confirmed vulnerable and exploited instance.
  • Use Shodan/FOFA queries to identify exposed Oracle WebLogic instances as potential targets: search for http.title 'oracle peoplesoft sign-in' or product 'oracle weblogic'.
  • ·The workDir path used in the exploit is specific to a default WebLogic domain layout. Actual deployments may use different domain names or paths, so the hardcoded path in the POST body may vary in real-world attacks.
  • ·The multipart boundary '----WebKitFormBoundaryuim0dyiDSPBPu31g' is static in the Nuclei PoC template but may differ in other exploit implementations; detection should not rely solely on this boundary value.
  • ·The Nuclei template targets the intrusive/vuln category and sends a real file upload; running this template against production systems will write files to disk.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.