Oracle Access Manager Multiple Vulnerabilities (Jul 2021 CPU) - Nessus

Critical   Plugin ID: 151978

This page contains detailed information about the Oracle Access Manager Multiple Vulnerabilities (Jul 2021 CPU) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 151978
Name: Oracle Access Manager Multiple Vulnerabilities (Jul 2021 CPU)
Filename: oracle_access_manager_cpu_jul_2021.nasl
Vulnerability Published: 2021-07-20
This Plugin Published: 2021-07-22
Last Modification Time: 2022-04-11
Plugin Version: 1.7
Plugin Type: local
Plugin Family: Misc.
Dependencies: oracle_access_manager_installed.nbin
Required KB Items [?]: installed_sw/Oracle Access Manager

Vulnerability Information


Severity: Critical
Vulnerability Published: 2021-07-20
Patch Published: 2021-07-20
CVE [?]: CVE-2020-2555, CVE-2021-2358
CPE [?]: cpe:/a:oracle:access_manager, cpe:/a:oracle:fusion_middleware

Synopsis

The remote host has a Single Sign On (SSO) application installed that is affected by multiple vulnerabilities.

Description

The version of Oracle Access Manager installed on the remote host is affected by the following vulnerabilities as noted in the July 2021 CPU advisory : - Vulnerability in the Oracle Access Manager product of Oracle Fusion Middleware (component: Rest interfaces for Access Mgr). The supported version that is affected is 11.1.2.3.0. Easily exploitable vulnerability allows high privileged attacker with network access via HTTPS to compromise Oracle Access Manager. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all Oracle Access Manager accessible data. (CVE-2021-2358)

- Vulnerability in the Oracle Access Manager product of Oracle Fusion Middleware (component: Installation Component (Oracle Coherence)). The supported version that is affected is 11.1.2.3.0. Difficult to exploit vulnerability allows high privileged attacker with access to the physical communication segment attached to the hardware where the Oracle Access Manager executes to compromise Oracle Access Manager. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of Oracle Access Manager accessible data as well as unauthorized read access to a subset of Oracle Access Manager accessible data. (CVE-2020-2555)

Note that Nessus has not attempted to exploit these issues but has instead relied only on the application's self-reported version number.

Solution

Apply the appropriate patches according to the July 2021 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 Access Manager Multiple Vulnerabilities (Jul 2021 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)
STIG Severity [?]: I
STIG Risk Rating: High

Go back to menu.

Plugin Source


This is the oracle_access_manager_cpu_jul_2021.nasl nessus plugin source code. This script is Copyright (C) 2021-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(151978);
  script_version("1.7");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

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

  script_name(english:"Oracle Access Manager Multiple Vulnerabilities (Jul 2021 CPU)");

  script_set_attribute(attribute:"synopsis", value:
"The remote host has a Single Sign On (SSO) application installed that is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Oracle Access Manager installed on the remote host is affected by the following vulnerabilities as noted in
the July 2021 CPU advisory :
  
  - Vulnerability in the Oracle Access Manager product of Oracle Fusion Middleware (component: Rest interfaces
    for Access Mgr). The supported version that is affected is 11.1.2.3.0. Easily exploitable vulnerability
    allows high privileged attacker with network access via HTTPS to compromise Oracle Access Manager.
    Successful attacks of this vulnerability can result in unauthorized access to critical data or complete
    access to all Oracle Access Manager accessible data. (CVE-2021-2358)

  - Vulnerability in the Oracle Access Manager product of Oracle Fusion Middleware (component: Installation
    Component (Oracle Coherence)). The supported version that is affected is 11.1.2.3.0. Difficult to exploit
    vulnerability allows high privileged attacker with access to the physical communication segment attached
    to the hardware where the Oracle Access Manager executes to compromise Oracle Access Manager. Successful
    attacks of this vulnerability can result in unauthorized update, insert or delete access to some of Oracle
    Access Manager accessible data as well as unauthorized read access to a subset of Oracle Access Manager
    accessible data. (CVE-2020-2555)


Note that Nessus has not attempted to exploit these issues but has instead relied only on the application's
self-reported version number.");
  script_set_attribute(attribute:"see_also", value:"https://www.oracle.com/security-alerts/cpujul2021.html");
  script_set_attribute(attribute:"solution", value:
"Apply the appropriate patches according to the July 2021 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:"2021/07/20");
  script_set_attribute(attribute:"patch_publication_date", value:"2021/07/20");
  script_set_attribute(attribute:"plugin_publication_date", value:"2021/07/22");

  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:access_manager");
  script_set_attribute(attribute:"stig_severity", value:"I");
  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) 2021-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("oracle_access_manager_installed.nbin");
  script_require_keys("installed_sw/Oracle Access Manager");

  exit(0);
}

include('vcf.inc');

var appname = 'Oracle Access Manager';

var app_info = vcf::get_app_info(app:appname);

var constraints = [
  {'min_version': '11.1.2.3', 'fixed_version': '11.1.2.3.210611'}
];
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_access_manager_cpu_jul_2021.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\oracle_access_manager_cpu_jul_2021.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/oracle_access_manager_cpu_jul_2021.nasl

Go back to menu.

How to Run


Here is how to run the Oracle Access Manager Multiple Vulnerabilities (Jul 2021 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 Access Manager Multiple Vulnerabilities (Jul 2021 CPU) plugin ID 151978.
  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_access_manager_cpu_jul_2021.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

/opt/nessus/bin/nasl -T - oracle_access_manager_cpu_jul_2021.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_access_manager_cpu_jul_2021.nasl -t <IP/HOST>

Go back to menu.

References


IAVA | Information Assurance Vulnerability Alert:
  • 2021-A-0326
See also: Similar and related Nessus plugins:
  • 137854 - Oracle Coherence (Jan 2020 CPU)
  • 142223 - Oracle WebCenter Portal Multiple Vulnerabilities (Oct 2020 CPU)
  • 151969 - MySQL 5.7.x < 5.7.35 Multiple Vulnerabilities (Jul 2021 CPU)
  • 151968 - MySQL 8.0.x < 8.0.26 Multiple Vulnerabilities (Jul 2021 CPU)
  • 151904 - Oracle Coherence Multiple Vulnerabilities (Jul 2021 CPU)
  • 151903 - Oracle Enterprise Manager Cloud Control (Jul 2021 CPU)
  • 151906 - Oracle MySQL Connectors (Jul 2021 CPU)
  • 152043 - Oracle Application Testing Suite (Jul 2021 CPU)
  • 151974 - Oracle Primavera Gateway (Jul 2021 CPU)
  • 151973 - Oracle Primavera Unifier (Jul 2021 CPU)
  • 152026 - Oracle Database Server Multiple Vulnerabilities (Jul 2021 CPU)
  • 152030 - Oracle WebCenter Portal Multiple Vulnerabilities (Jul 2021 CPU)

Version


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

Go back to menu.