Oracle Primavera Unifier Multiple Vulnerabilities (Jan 2019 CPU) - Nessus

Critical   Plugin ID: 121251

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

Plugin Overview


ID: 121251
Name: Oracle Primavera Unifier Multiple Vulnerabilities (Jan 2019 CPU)
Filename: oracle_primavera_unifier_cpu_jan_2019.nasl
Vulnerability Published: 2019-01-11
This Plugin Published: 2019-01-18
Last Modification Time: 2022-04-11
Plugin Version: 1.9
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: Critical
Vulnerability Published: 2019-01-11
Patch Published: 2019-01-11
CVE [?]: CVE-2018-9206, CVE-2018-14718, CVE-2018-14719, CVE-2018-14720, CVE-2018-14721
CPE [?]: cpe:/a:oracle:primavera_unifier

Synopsis

An application running on the remote web server is affected by multiple vulnerabilities.

Description

According to its self-reported version number, the Oracle Primavera Unifier installation running on the remote web server is 16.x prior to 16.2.15.6 or 17.x prior to 17.12.9.2 or 18.x prior to 18.8.4.1. It is, therefore, affected by multiple vulnerabilities:

- An arbitrary file upload vulnerability exists in Blueimp jQuery-File-Upload. An unauthenticated, remote attacker can exploit this to upload arbitrary files on the remote host subject to the privileges of the user.

- A remote command execution vulnerability exists in jackson-databind due to a failure to block various classes from polymorphic deserialization. An unauthenticated, remote attacker can exploit this to execute arbitrary code. (CVE-2018-14718, CVE-2018-14719 CVE-2018-14720, CVE-2018-14721)

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

Solution

Upgrade to Oracle Primavera Unifier version 16.2.15.6 / 17.12.9.2 / 18.8.4.1 or later.

Public Exploits


Target Network Port(s): 8002
Target Asset(s): Services/www
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub, Immunity Canvas, D2 Elliot)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Oracle Primavera Unifier Multiple Vulnerabilities (Jan 2019 CPU) vulnerability:

  1. Metasploit: exploit/unix/webapp/jquery_file_upload
    [blueimps jQuery (Arbitrary) File Upload]
  2. Metasploit: exploit/unix/webapp/jquery_file_upload
    [blueimp's jQuery (Arbitrary) File Upload]
  3. Exploit-DB: exploits/php/remote/45790.rb
    [EDB-45790: blueimp's jQuery 9.22.0 - (Arbitrary) File Upload (Metasploit)]
  4. Exploit-DB: exploits/php/webapps/45584.txt
    [EDB-45584: jQuery-File-Upload 9.22.0 - Arbitrary File Upload]
  5. Exploit-DB: exploits/php/webapps/46182.py
    [EDB-46182: Blueimp's jQuery File Upload 9.22.0 - Arbitrary File Upload Exploit]
  6. GitHub: https://github.com/Apri1y/Red-Team-links
    [CVE-2018-9206]
  7. GitHub: https://github.com/Echocipher/Resource-list
    [CVE-2018-9206]
  8. GitHub: https://github.com/HacTF/poc--exp
    [CVE-2018-9206]
  9. GitHub: https://github.com/hudunkey/Red-Team-links
    [CVE-2018-9206]
  10. GitHub: https://github.com/john-80/-007
    [CVE-2018-9206]
  11. GitHub: https://github.com/lp008/Hack-readme
    [CVE-2018-9206]
  12. GitHub: https://github.com/slimdaddy/RedTeam
    [CVE-2018-9206]
  13. GitHub: https://github.com/wateroot/poc-exp
    [CVE-2018-9206]
  14. GitHub: https://github.com/xiaoZ-hc/redtool
    [CVE-2018-9206]
  15. GitHub: http://www.vapidlabs.com/advisory.php?v=204
    [CVE-2018-9206]
  16. GitHub: https://github.com/ilmari666/cybsec
    [CVE-2018-14718]
  17. GitHub: https://github.com/yahoo/cubed
    [CVE-2018-14718]
  18. GitHub: https://github.com/ilmari666/cybsec
    [CVE-2018-14719]
  19. GitHub: https://github.com/ilmari666/cybsec
    [CVE-2018-14720]
  20. GitHub: https://github.com/ilmari666/cybsec
    [CVE-2018-14721]
  21. GitHub: https://github.com/cved-sources/cve-2018-9206
    [CVE-2018-9206: Cve-2018-9206]
  22. GitHub: https://github.com/Den1al/CVE-2018-9206
    [CVE-2018-9206: A Python PoC for CVE-2018-9206]
  23. GitHub: https://github.com/mi-hood/CVE-2018-9206
    [CVE-2018-9206: Jquery file upload poc]
  24. GitHub: https://github.com/Stahlz/JQShell
    [CVE-2018-9206: A weaponized version of CVE-2018-9206]
  25. D2 Elliot: jquery_file_upload.html
    [jQuery File Upload]
  26. Immunity Canvas: CANVAS

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-2018-9206
CVSS V2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:F/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:6.2 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.2 (Medium)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C
CVSS Base Score:9.8 (Critical)
Impact Subscore:5.9
Exploitability Subscore:3.9
CVSS Temporal Score:9.1 (Critical)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.1 (Critical)

Go back to menu.

Plugin Source


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

  script_cve_id(
    "CVE-2018-9206",
    "CVE-2018-14718",
    "CVE-2018-14719",
    "CVE-2018-14720",
    "CVE-2018-14721"
  );

  script_name(english:"Oracle Primavera Unifier Multiple Vulnerabilities (Jan 2019 CPU)");

  script_set_attribute(attribute:"synopsis", value:
"An application running on the remote web server is affected by
multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"According to its self-reported version number, the Oracle Primavera
Unifier installation running on the remote web server is 16.x prior to
16.2.15.6 or 17.x prior to 17.12.9.2 or 18.x prior to 18.8.4.1. It is, 
therefore, affected by multiple vulnerabilities:

  - An arbitrary file upload vulnerability exists in Blueimp
    jQuery-File-Upload. An unauthenticated, remote attacker 
    can exploit this to upload arbitrary files on the remote 
    host subject to the privileges of the user.

  - A remote command execution vulnerability exists in
    jackson-databind due to a failure to block various
    classes from polymorphic deserialization. An 
    unauthenticated, remote attacker can exploit this to
    execute arbitrary code. (CVE-2018-14718, CVE-2018-14719
    CVE-2018-14720, CVE-2018-14721)

Note that Nessus has not tested for these issues but has instead
relied only on the application's self-reported version number.");
  # https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?799b2d05");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Oracle Primavera Unifier version 16.2.15.6 / 17.12.9.2 / 18.8.4.1 or later.");
  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:F/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:F/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-9206");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"d2_elliot_name", value:"jQuery File Upload");
  script_set_attribute(attribute:"exploit_framework_d2_elliot", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'blueimps jQuery (Arbitrary) File Upload');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
  script_set_attribute(attribute:"canvas_package", value:"CANVAS");

  script_set_attribute(attribute:"vuln_publication_date", value:"2019/01/11");
  script_set_attribute(attribute:"patch_publication_date", value:"2019/01/11");
  script_set_attribute(attribute:"plugin_publication_date", value:"2019/01/18");

  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) 2019-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("http.inc");
include("vcf.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.0.0", "fixed_version" : "16.2.15.6" },
  { "min_version" : "17.1.0.0", "fixed_version" : "17.12.9.2" },
  { "min_version" : "18.8.0.0", "fixed_version" : "18.8.4.1" }
];

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_primavera_unifier_cpu_jan_2019.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\oracle_primavera_unifier_cpu_jan_2019.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/oracle_primavera_unifier_cpu_jan_2019.nasl

Go back to menu.

How to Run


Here is how to run the Oracle Primavera Unifier Multiple Vulnerabilities (Jan 2019 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 Multiple Vulnerabilities (Jan 2019 CPU) plugin ID 121251.
  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_jan_2019.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a oracle_primavera_unifier_cpu_jan_2019.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_jan_2019.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_jan_2019.nasl -t <IP/HOST>

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 122603 - Debian DLA-1703-1 : jackson-databind security update
  • 125416 - Debian DSA-4452-1 : jackson-databind - security update
  • 122290 - Fedora 29 : bouncycastle / eclipse-jgit / eclipse-linuxtools / etc (2019-df57551f6d)
  • 141314 - FreeBSD : payara -- multiple vulnerabilities (71c71ce0-0805-11eb-a3a4-0019dbb15b3f)
  • 118310 - jQuery-File-Upload Arbitrary File Upload Vulnerability (Remote Check)
  • 135204 - Oracle NoSQL Database Enterprise Server-Side Request Forgery (October 2019 CPU)
  • 121257 - Oracle Application Testing Suite Multiple Vulnerabilities (Jan 2019 CPU)
  • 130058 - Oracle Database Server Multiple Vulnerabilities (Oct 2019 CPU)
  • 121347 - Oracle WebCenter Portal Multiple Vulnerabilities (Jan 2019 CPU)
  • 124840 - RHEL 6 : JBoss EAP (RHSA-2019:1107)
  • 124841 - RHEL 7 : JBoss EAP (RHSA-2019:1108)
  • 121229 - MySQL 8.0.x < 8.0.14 Multiple Vulnerabilities (Jan 2019 CPU)
  • 138902 - MySQL Enterprise Monitor 4.x < 4.0.8 / 8.x < 8.0.14 DoS (Jan 2019 CPU)
  • 131184 - Oracle Enterprise Manager Ops Center (Jan 2019 CPU)
  • 133268 - Oracle GoldenGate for Big Data 12.3.2.1.x < 12.3.2.1.2 Apache Log4j Insecure Deserialization RCE (Jan 2019 CPU)
  • 121252 - Oracle Primavera P6 Enterprise Project Portfolio Management (EPPM) Multiple Vulnerabilities (Jan 2019 CPU)
  • 121247 - Oracle VM VirtualBox 5.2.x < 5.2.24 / 6.0.x < 6.0.2 (Jan 2019 CPU)

Version


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

Go back to menu.