Oracle Coherence (Jan 2020 CPU) - Nessus

Critical   Plugin ID: 137854

This page contains detailed information about the Oracle Coherence (Jan 2020 CPU) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 137854
Name: Oracle Coherence (Jan 2020 CPU)
Filename: oracle_coherence_cpu_jan_2020.nasl
Vulnerability Published: 2020-01-15
This Plugin Published: 2020-06-26
Last Modification Time: 2022-04-11
Plugin Version: 1.8
Plugin Type: local
Plugin Family: Misc.
Dependencies: oracle_coherence_installed.nbin
Required KB Items [?]: installed_sw/Oracle Coherence

Vulnerability Information


Severity: Critical
Vulnerability Published: 2020-01-15
Patch Published: 2020-01-15
CVE [?]: CVE-2020-2555
CPE [?]: cpe:/a:oracle:coherence, cpe:/a:oracle:fusion_middleware

Synopsis

The remote host is affected by a Remote Code Execution vulnerability.

Description

The version of the tested product installed on the remote host is prior to tested version. It is, therefore, affected by a remote code execution vulnerability, as referenced in the January 2020 Oracle CPU advisory.

Vulnerability in the Oracle Coherence product of Oracle Fusion Middleware (component: Caching,CacheStore,Invocation). Supported versions that are affected are 3.7.1.0, 12.1.3.0.0, 12.2.1.3.0 and 12.2.1.4.0. Easily exploitable vulnerability allows unauthenticated attacker with network access via T3 to compromise Oracle Coherence. Successful attacks of this vulnerability can result in takeover of Oracle Coherence.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Apply the appropriate patch according to the January 2020 Oracle Critical Patch Update advisory.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Oracle Coherence (Jan 2020 CPU) vulnerability:

  1. Metasploit: exploit/multi/misc/weblogic_deserialize_badattrval
    [WebLogic Server Deserialization RCE - BadAttributeValueExpException]
  2. Exploit-DB: exploits/multiple/remote/48508.rb
    [EDB-48508: WebLogic Server - Deserialization RCE - BadAttributeValueExpException (Metasploit)]
  3. Exploit-DB: exploits/java/webapps/48320.py
    [EDB-48320: Oracle WebLogic Server 12.2.1.4.0 - Remote Code Execution]
  4. GitHub: https://github.com/0nise/CVE-2020-2555
    [CVE-2020-2555]
  5. GitHub: https://github.com/0xn0ne/weblogicScanner
    [CVE-2020-2555]
  6. GitHub: https://github.com/5l1v3r1/CVE-2020-2556
    [CVE-2020-2555]
  7. GitHub: https://github.com/GrrrDog/Java-Deserialization-Cheat-Sheet
    [CVE-2020-2555]
  8. GitHub: https://github.com/Hu3sky/CVE-2020-2555
    [CVE-2020-2555]
  9. GitHub: https://github.com/Mr-xn/Penetration_Testing_POC
    [CVE-2020-2555]
  10. GitHub: https://github.com/SexyBeast233/SecBooks
    [CVE-2020-2555]
  11. GitHub: https://github.com/TacticsTeam/sg_ysoserial
    [CVE-2020-2555]
  12. GitHub: https://github.com/Uvemode/CVE-2020-2555
    [CVE-2020-2555]
  13. GitHub: https://github.com/Y4er/CVE-2020-2883
    [CVE-2020-2555]
  14. GitHub: https://github.com/Y4er/WebLogic-Shiro-shell
    [CVE-2020-2555]
  15. GitHub: https://github.com/amcai/myscan
    [CVE-2020-2555]
  16. GitHub: https://github.com/awsassets/weblogic_exploit
    [CVE-2020-2555]
  17. GitHub: https://github.com/bhassani/Recent-CVE
    [CVE-2020-2555]
  18. GitHub: https://github.com/dbierer/php-sec-update
    [CVE-2020-2555]
  19. GitHub: https://github.com/feihong-cs/Attacking_Shiro_with_CVE_2020_2555
    [CVE-2020-2555]
  20. GitHub: https://github.com/gobysec/Goby
    [CVE-2020-2555]
  21. GitHub: https://github.com/hktalent/CVE_2020_2546
    [CVE-2020-2555]
  22. GitHub: https://github.com/koala2099/GitHub-Chinese-Top-Charts
    [CVE-2020-2555]
  23. GitHub: https://github.com/koutto/jok3r-pocs
    [CVE-2020-2555]
  24. GitHub: https://github.com/lovechinacoco/https-github.com-mai-lang-chai-Middleware-Vulnerability-detection
    [CVE-2020-2555]
  25. GitHub: https://github.com/neilzhang1/Chinese-Charts
    [CVE-2020-2555]
  26. GitHub: https://github.com/pinkieli/GitHub-Chinese-Top-Charts
    [CVE-2020-2555]
  27. GitHub: https://github.com/qingyuanfeiniao/Chinese-Top-Charts
    [CVE-2020-2555]
  28. GitHub: https://github.com/raystyle/paper
    [CVE-2020-2555]
  29. GitHub: https://github.com/safe6Sec/wlsEnv
    [CVE-2020-2555]
  30. GitHub: https://github.com/tdtc7/qps
    [CVE-2020-2555]
  31. GitHub: https://github.com/xkx518/CodeTest
    [CVE-2020-2555: CodeTest信息收集和漏洞利用工具,可在进行渗透测试之时方便利� ...]
  32. GitHub: https://github.com/zhzyker/vulmap
    [CVE-2020-2555]
  33. GitHub: https://www.thezdi.com/blog/2020/3/5/cve-2020-2555-rce-through-a-deserialization-bug-in-oracles-weblogic-server
    [CVE-2020-2555]
  34. GitHub: https://github.com/Maskhe/cve-2020-2555
    [CVE-2020-2555]
  35. GitHub: https://github.com/Qynklee/POC_CVE-2020-2555
    [CVE-2020-2555: Poc for CVE-2020-2555]
  36. GitHub: https://github.com/wsfengfan/CVE-2020-2555
    [CVE-2020-2555: CVE-2020-2555 Python POC]
  37. GitHub: https://github.com/Y4er/CVE-2020-2555
    [CVE-2020-2555: Weblogic com.tangosol.util.extractor.ReflectionExtractor RCE]
  38. GitHub: https://github.com/zhzyker/exphub
    [CVE-2020-2555: Exphub[漏洞利用脚本库] ...]
  39. GitHub: https://github.com/zzwlpx/weblogicPoc
    [CVE-2020-2555: Weblogic Vuln POC EXP cve-2020-2551 cve-2020-2555 cve-2020-2883 ,。。。]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS Score Source [?]: CVE-2020-2555
CVSS V2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:6.5 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.5 (Medium)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C
CVSS Base Score:9.8 (Critical)
Impact Subscore:5.9
Exploitability Subscore:3.9
CVSS Temporal Score:9.4 (Critical)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.4 (Critical)

Go back to menu.

Plugin Source


This is the oracle_coherence_cpu_jan_2020.nasl nessus plugin source code. This script is Copyright (C) 2020-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(137854);
  script_version("1.8");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id("CVE-2020-2555");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/05/03");

  script_name(english:"Oracle Coherence (Jan 2020 CPU)");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is affected by a Remote Code Execution vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of the tested product installed on the remote host is prior to tested version. It is, therefore, affected by
a remote code execution vulnerability, as referenced in the January 2020 Oracle CPU advisory.

Vulnerability in the Oracle Coherence product of Oracle Fusion Middleware (component: Caching,CacheStore,Invocation). 
Supported versions that are affected are 3.7.1.0, 12.1.3.0.0, 12.2.1.3.0 and 12.2.1.4.0. Easily exploitable vulnerability 
allows unauthenticated attacker with network access via T3 to compromise Oracle Coherence. 
Successful attacks of this vulnerability can result in takeover of Oracle Coherence.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://www.oracle.com/a/tech/docs/cpujan2020cvrf.xml");
  script_set_attribute(attribute:"see_also", value:"https://www.oracle.com/security-alerts/cpujan2020.html");
  script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the January 2020 Oracle Critical Patch Update advisory.");
  script_set_attribute(attribute:"agent", value:"all");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-2555");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'WebLogic Server Deserialization RCE - BadAttributeValueExpException');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2020/01/15");
  script_set_attribute(attribute:"patch_publication_date", value:"2020/01/15");
  script_set_attribute(attribute:"plugin_publication_date", value:"2020/06/26");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:fusion_middleware");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:coherence");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2020-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("oracle_coherence_installed.nbin");
  script_require_keys("installed_sw/Oracle Coherence");

  exit(0);
}

include('vcf.inc');

app_name = 'Oracle Coherence';

app_info = vcf::get_app_info(app:app_name);
 
constraints = [
  { 'min_version' : '3.7.1.0', 'fixed_version' : '3.7.1.17' },
  { 'min_version' : '12.1.3.0.0', 'fixed_version' : '12.1.3.0.7' },
  { 'min_version' : '12.2.1.3.0', 'fixed_version' : '12.2.1.3.5' },
  { 'min_version' : '12.2.1.4.0', 'fixed_version' : '12.2.1.4.3' }
];
 
vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/oracle_coherence_cpu_jan_2020.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\oracle_coherence_cpu_jan_2020.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/oracle_coherence_cpu_jan_2020.nasl

Go back to menu.

How to Run


Here is how to run the Oracle Coherence (Jan 2020 CPU) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Misc. plugin family.
  6. On the right side table select Oracle Coherence (Jan 2020 CPU) plugin ID 137854.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl oracle_coherence_cpu_jan_2020.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a oracle_coherence_cpu_jan_2020.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - oracle_coherence_cpu_jan_2020.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state oracle_coherence_cpu_jan_2020.nasl -t <IP/HOST>

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 151978 - Oracle Access Manager Multiple Vulnerabilities (Jul 2021 CPU)
  • 142223 - Oracle WebCenter Portal Multiple Vulnerabilities (Oct 2020 CPU)
  • 132956 - MySQL 5.6.x < 5.6.47 Multiple Vulnerabilities (Jan 2020 CPU)
  • 132957 - MySQL 5.7.x < 5.7.29 Multiple Vulnerabilities (Jan 2020 CPU)
  • 132958 - MySQL 8.0.x < 8.0.19 Multiple Vulnerabilities (Jan 2020 CPU)
  • 132991 - Oracle Business Intelligence Publisher Multiple Vulnerabilities (Jan 2020 CPU)
  • 133091 - Oracle Enterprise Manager Ops Center (Jan 2020 CPU)
  • 132992 - Oracle Java SE 1.7.0_251 / 1.8.0_241 / 1.11.0_6 / 1.13.0_2 Multiple Vulnerabilities (Jan 2020 CPU)
  • 132960 - Oracle Java SE 1.7.0_251 / 1.8.0_241 / 1.11.0_6 / 1.13.0_2 Multiple Vulnerabilities (Jan 2020 CPU) (Unix)
  • 132937 - Oracle MySQL Connectors OpenSSL (Jan 2020 CPU)
  • 133260 - Oracle Application Testing Suite Multiple Vulnerabilities (Jan 2020 CPU)
  • 132936 - Oracle Primavera Gateway Multiple Vulnerabilities (Jan 2020 CPU)
  • 133054 - Oracle Primavera P6 Enterprise Project Portfolio Management (EPPM) Multiple Vulnerabilities (Jan 2020 CPU)
  • 133359 - Oracle Primavera Unifier Multiple Vulnerabilities (Jan 2020 CPU)
  • 133047 - Oracle Database Server Multiple Vulnerabilities (Jan 2020 CPU)
  • 133041 - Oracle Tuxedo Remote Code Execution Vulnerability (Jan 2020 CPU)
  • 132961 - Oracle WebLogic Server Multiple Vulnerabilities (Jan 2020 CPU)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file oracle_coherence_cpu_jan_2020.nasl version 1.8. For more plugins, visit the Nessus Plugin Library.

Go back to menu.