Oracle Primavera Unifier (Oct 2020 CPU) - Nessus

High   Plugin ID: 141641

This page contains detailed information about the Oracle Primavera Unifier (Oct 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: 141641
Name: Oracle Primavera Unifier (Oct 2020 CPU)
Filename: oracle_primavera_unifier_cpu_oct_2020.nasl
Vulnerability Published: 2020-10-20
This Plugin Published: 2020-10-21
Last Modification Time: 2022-04-11
Plugin Version: 1.8
Plugin Type: remote
Plugin Family: CGI abuses
Dependencies: oracle_primavera_unifier.nbin
Required KB Items [?]: installed_sw/Oracle Primavera Unifier, www/weblogic

Vulnerability Information


Severity: High
Vulnerability Published: 2020-10-20
Patch Published: 2020-10-20
CVE [?]: CVE-2015-1832, CVE-2017-9096, CVE-2018-17196, CVE-2019-17558, CVE-2020-9488, CVE-2020-9489
CPE [?]: cpe:/a:oracle:primavera_unifier

Synopsis

The remote host is affected by multiple vulnerabilities

Description

The 16.1-16.2, 17.7-17.12, 18.8, and 19.12 versions of Primavera Unifier installed on the remote host are affected by multiple vulnerabilities as referenced in the October 2020 CPU advisory.

- Vulnerability in the Primavera Unifier product of Oracle Construction and Engineering (component: Platform (Apache Derby)). Supported versions that are affected are 16.1-16.2, 17.7-17.12, 18.8 and 19.12. Easily exploitable vulnerability allows unauthenticated attacker with network access via HTTP to compromise Primavera Unifier. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all Primavera Unifier accessible data and unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of Primavera Unifier. (CVE-2015-1832)

- Vulnerability in the Primavera Unifier product of Oracle Construction and Engineering (component: Platform (iText)). Supported versions that are affected are 16.1-16.2, 17.7-17.12, 18.8 and 19.12. Easily exploitable vulnerability allows unauthenticated attacker with network access via HTTP to compromise Primavera Unifier. Successful attacks require human interaction from a person other than the attacker. Successful attacks of this vulnerability can result in takeover of Primavera Unifier. (CVE-2017-9096)

- Vulnerability in the Primavera Unifier product of Oracle Construction and Engineering (component: Platform (Apache Solr)). Supported versions that are affected are 16.1-16.2, 17.7-17.12, 18.8 and 19.12. Difficult to exploit vulnerability allows low privileged attacker with network access via HTTP to compromise Primavera Unifier. Successful attacks of this vulnerability can result in takeover of Primavera Unifier. (CVE-2019-17558)

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 October 2020 Oracle Critical Patch Update advisory.

Public Exploits


Target Network Port(s): 8002
Target Asset(s): Services/www
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 Primavera Unifier (Oct 2020 CPU) vulnerability:

  1. Metasploit: exploit/multi/http/solr_velocity_rce
    [Apache Solr Remote Code Execution via Velocity Template]
  2. Exploit-DB: exploits/multiple/remote/48338.rb
    [EDB-48338: Apache Solr - Remote Code Execution via Velocity Template (Metasploit)]
  3. GitHub: https://github.com/isxbot/software-assurance
    [CVE-2018-17196]
  4. GitHub: https://github.com/Imanfeng/Apache-Solr-RCE
    [CVE-2019-17558]
  5. GitHub: https://github.com/Ma1Dong/Solr_CVE-2019-17558
    [CVE-2019-17558: Solr_CVE-2019-17558]
  6. GitHub: https://github.com/Mr-xn/Penetration_Testing_POC
    [CVE-2019-17558]
  7. GitHub: https://github.com/SexyBeast233/SecBooks
    [CVE-2019-17558]
  8. GitHub: https://github.com/bigblackhat/oFx
    [CVE-2019-17558]
  9. GitHub: https://github.com/gsheller/Solr_CVE-2019-17558
    [CVE-2019-17558: Solr_CVE-2019-17558]
  10. GitHub: https://github.com/hanc00l/some_pocsuite
    [CVE-2019-17558]
  11. GitHub: https://github.com/koala2099/GitHub-Chinese-Top-Charts
    [CVE-2019-17558]
  12. GitHub: https://github.com/neilzhang1/Chinese-Charts
    [CVE-2019-17558]
  13. GitHub: https://github.com/pan3a/Solr-CVE-2019-17558
    [CVE-2019-17558: Solr RCE CVE-2019-17558]
  14. GitHub: https://github.com/pinkieli/GitHub-Chinese-Top-Charts
    [CVE-2019-17558]
  15. GitHub: https://github.com/qingyuanfeiniao/Chinese-Top-Charts
    [CVE-2019-17558]
  16. GitHub: https://github.com/veracode-research/solr-injection
    [CVE-2019-17558]
  17. GitHub: https://github.com/woods-sega/woodswiki
    [CVE-2019-17558]
  18. GitHub: https://github.com/xkyrage/Exploit_CVE-2019-17558-RCE
    [CVE-2019-17558: Apache Solr 1.4 Injection to get a shell]
  19. GitHub: https://github.com/HynekPetrak/log4shell-finder
    [CVE-2020-9488]
  20. GitHub: https://github.com/apache/logging-log4j1
    [CVE-2020-9488]
  21. GitHub: https://github.com/davejwilson/azure-spark-pools-log4j
    [CVE-2020-9488]
  22. GitHub: https://github.com/jaspervanderhoek/MicroflowScheduledEventManager
    [CVE-2020-9488]
  23. GitHub: https://github.com/logpresso/CVE-2021-44228-Scanner
    [CVE-2020-9488]
  24. GitHub: https://github.com/ltslog/ltslog
    [CVE-2020-9488]
  25. GitHub: https://github.com/thl-cmk/CVE-log4j-check_mk-plugin
    [CVE-2020-9488]
  26. GitHub: https://github.com/whitesource/log4j-detect-distribution
    [CVE-2020-9488]
  27. GitHub: https://github.com/PwnCast/CVE-2020-9489
    [CVE-2020-9489: PoC for exploiting CVE-2020-9489 : A carefully crafted or corrupt file may trigger a ...]
  28. GitHub: https://github.com/SDNDTeam/CVE-2019-17558_Solr_Vul_Tool
    [CVE-2019-17558: CVE-2019-17558 Solr模板注入漏洞图形化一键检测工具。CVE-2019-17558 ...]
  29. GitHub: https://github.com/zhzyker/exphub
    [CVE-2019-17558: Exphub[漏洞利用脚本库] ...]
  30. GitHub: https://github.com/Schnitker/log4j-min
    [CVE-2020-9488: Log4j 1.2 project, stripped of the additional appenders and CVEs that cause problems ...]

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-2017-9096
CVSS V2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C
CVSS Base Score:6.8 (Medium)
Impact Subscore:6.4
Exploitability Subscore:8.6
CVSS Temporal Score:5.9 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:5.9 (Medium)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C
CVSS Base Score:8.8 (High)
Impact Subscore:5.9
Exploitability Subscore:2.8
CVSS Temporal Score:8.4 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.4 (High)

Go back to menu.

Plugin Source


This is the oracle_primavera_unifier_cpu_oct_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(141641);
  script_version("1.8");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id(
    "CVE-2015-1832",
    "CVE-2017-9096",
    "CVE-2018-17196",
    "CVE-2019-17558",
    "CVE-2020-9488",
    "CVE-2020-9489"
  );
  script_bugtraq_id(93132, 109139);
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/05/03");

  script_name(english:"Oracle Primavera Unifier (Oct 2020 CPU)");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is affected by multiple vulnerabilities");
  script_set_attribute(attribute:"description", value:
"The 16.1-16.2, 17.7-17.12, 18.8, and 19.12 versions of Primavera Unifier installed on the remote host are affected by
multiple vulnerabilities as referenced in the October 2020 CPU advisory.

  - Vulnerability in the Primavera Unifier product of Oracle Construction and Engineering (component: Platform
    (Apache Derby)). Supported versions that are affected are 16.1-16.2, 17.7-17.12, 18.8 and 19.12. Easily
    exploitable vulnerability allows unauthenticated attacker with network access via HTTP to compromise
    Primavera Unifier. Successful attacks of this vulnerability can result in unauthorized access to critical
    data or complete access to all Primavera Unifier accessible data and unauthorized ability to cause a hang
    or frequently repeatable crash (complete DOS) of Primavera Unifier. (CVE-2015-1832)

  - Vulnerability in the Primavera Unifier product of Oracle Construction and Engineering (component: Platform
    (iText)). Supported versions that are affected are 16.1-16.2, 17.7-17.12, 18.8 and 19.12. Easily
    exploitable vulnerability allows unauthenticated attacker with network access via HTTP to compromise
    Primavera Unifier. Successful attacks require human interaction from a person other than the attacker.
    Successful attacks of this vulnerability can result in takeover of Primavera Unifier. (CVE-2017-9096)

  - Vulnerability in the Primavera Unifier product of Oracle Construction and Engineering (component: Platform
    (Apache Solr)). Supported versions that are affected are 16.1-16.2, 17.7-17.12, 18.8 and 19.12. Difficult
    to exploit vulnerability allows low privileged attacker with network access via HTTP to compromise
    Primavera Unifier. Successful attacks of this vulnerability can result in takeover of Primavera Unifier.
    (CVE-2019-17558)

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/cpuoct2020cvrf.xml");
  script_set_attribute(attribute:"see_also", value:"https://www.oracle.com/security-alerts/cpuoct2020.html");
  script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the October 2020 Oracle Critical Patch Update advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/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:R/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-2017-9096");

  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:'Apache Solr Remote Code Execution via Velocity Template');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2020/10/20");
  script_set_attribute(attribute:"patch_publication_date", value:"2020/10/20");
  script_set_attribute(attribute:"plugin_publication_date", value:"2020/10/21");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:primavera_unifier");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

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

  script_dependencies("oracle_primavera_unifier.nbin");
  script_require_keys("installed_sw/Oracle Primavera Unifier", "www/weblogic");
  script_require_ports("Services/www", 8002);

  exit(0);
}

include('vcf.inc');
include('http.inc');

get_install_count(app_name:'Oracle Primavera Unifier', exit_if_zero:TRUE);

port = get_http_port(default:8002);
get_kb_item_or_exit('www/weblogic/' + port + '/installed');

app_info = vcf::get_app_info(app:'Oracle Primavera Unifier', port:port);

vcf::check_granularity(app_info:app_info, sig_segments:3);

constraints = [
  { 'min_version' : '16.1', 'fixed_version' : '16.2.16.3' },
  { 'min_version' : '17.7', 'fixed_version' : '17.12.11.5' },
  { 'min_version' : '18.8', 'fixed_version' : '18.8.18' },
  { 'min_version' : '19.12', 'fixed_version' : '19.12.10' }
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);

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

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

Go back to menu.

How to Run


Here is how to run the Oracle Primavera Unifier (Oct 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 CGI abuses plugin family.
  6. On the right side table select Oracle Primavera Unifier (Oct 2020 CPU) plugin ID 141641.
  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_primavera_unifier_cpu_oct_2020.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a oracle_primavera_unifier_cpu_oct_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_primavera_unifier_cpu_oct_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_primavera_unifier_cpu_oct_2020.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 156860 - Apache Log4j 1.x Multiple Vulnerabilities
  • 136424 - Apache Log4j < 2.13.2 Improper Certificate Verification
  • 131734 - Apache Solr Config API Velocity Template RCE (Direct Check)
  • 156396 - Debian DLA-2852-1 : apache-log4j2 - LTS security update
  • 156015 - Debian DSA-5020-1 : apache-log4j2 - security update
  • 134190 - FreeBSD : Solr -- multiple vulnerabilities (e59cb761-5ad8-11ea-abb7-001b217b3468)
  • 148952 - Oracle E-Business Suite Multiple Vulnerabilities (April 2021 CPU)
  • 138526 - Oracle Primavera Gateway (Jul 2020 CPU)
  • 138511 - Oracle Primavera P6 Enterprise Project Portfolio Management Multiple Vulnerabilities (Jul 2020 CPU)
  • 148925 - Oracle WebCenter Portal Multiple Vulnerabilities (Apr 2021 CPU)
  • 121226 - Oracle WebLogic Server Multiple Vulnerabilities (January 2019 CPU)
  • 141807 - Oracle WebLogic Server Multiple Vulnerabilities (Oct 2020 CPU)
  • 140747 - RHEL 6 : AMQ Clients 2.8.0 Release (Moderate) (RHSA-2020:3817)
  • 132583 - Apache Solr < 8.4.0 Remote Code Execution
  • 141797 - MySQL 5.7.x < 5.7.32 Multiple Vulnerabilities (Oct 2020 CPU)
  • 141798 - MySQL 8.0.x < 8.0.22 Multiple Vulnerabilities (Oct 2020 CPU)
  • 141847 - MySQL Enterprise Monitor 8.0.x < 8.0.22.1262 DoS (Oct 2020 CPU)
  • 142372 - Oracle Business Intelligence Publisher Multiple Vulnerabilities (Oct 2020 CPU)
  • 142210 - Oracle Business Process Management Suite (Oct 2020 CPU)
  • 141808 - Oracle Oracle E-Business Suite (Oct 2020 CPU)
  • 141809 - Oracle Enterprise Manager Cloud Control (Oct 2020 CPU)
  • 152772 - Oracle Enterprise Manager Ops Center (Oct 2020 CPU)
  • 142212 - Oracle Fusion Middleware Oracle HTTP Server (Oct 2020 CPU)
  • 141785 - Oracle Primavera Gateway (Oct 2020 CPU)
  • 141829 - Oracle Database Server Multiple Vulnerabilities (Oct 2020 CPU)
  • 142223 - Oracle WebCenter Portal Multiple Vulnerabilities (Oct 2020 CPU)

Version


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

Go back to menu.