Oracle WebLogic Server Multiple Vulnerabilities (July 2016 CPU) - Nessus

Critical   Plugin ID: 92460

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

Plugin Overview


ID: 92460
Name: Oracle WebLogic Server Multiple Vulnerabilities (July 2016 CPU)
Filename: oracle_weblogic_server_cpu_jul_2016.nasl
Vulnerability Published: 2016-07-19
This Plugin Published: 2016-07-20
Last Modification Time: 2022-04-11
Plugin Version: 1.9
Plugin Type: local
Plugin Family: Misc.
Dependencies: oracle_weblogic_server_installed.nbin
Required KB Items [?]: installed_sw/Oracle WebLogic Server

Vulnerability Information


Severity: Critical
Vulnerability Published: 2016-07-19
Patch Published: 2016-07-19
CVE [?]: CVE-2016-3445, CVE-2016-3499, CVE-2016-3510, CVE-2016-3586
CPE [?]: cpe:/a:oracle:fusion_middleware, cpe:/a:oracle:weblogic_server

Synopsis

An application server installed on the remote host is affected by multiple vulnerabilities.

Description

The version of Oracle WebLogic Server installed on the remote host is affected by multiple vulnerabilities :

- An unspecified flaw exists in the Web Container subcomponent that allows an unauthenticated, remote attacker to cause a denial of service condition. (CVE-2016-3445)

- An unspecified flaw exists in the Web Container subcomponent that allows an unauthenticated, remote attacker to execute arbitrary code. (CVE-2016-3499)

- A remote code execution vulnerability exists in the WLS Core component due to unsafe deserialize calls to the weblogic.corba.utils.MarshallObject object. An unauthenticated, remote attacker can exploit this, via a specially crafted request, to execute arbitrary code. (CVE-2016-3510)

- An unspecified flaw exists in the WLS Core component that allows an unauthenticated, remote attacker to execute arbitrary code. (CVE-2016-3586)

Solution

Apply the appropriate patch according to the July 2016 Oracle Critical Patch Update advisory.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the Oracle WebLogic Server Multiple Vulnerabilities (July 2016 CPU) vulnerability:

  1. Metasploit: exploit/multi/misc/weblogic_deserialize_marshalledobject
    [Oracle Weblogic Server Deserialization RCE - MarshalledObject]
  2. GitHub: https://github.com/3vikram/Application-Vulnerabilities-Payloads
    [CVE-2016-3510]
  3. GitHub: https://github.com/84KaliPleXon3/Payloads_All_The_Things
    [CVE-2016-3510]
  4. GitHub: https://github.com/BabyTeam1024/CVE-2016-3510
    [CVE-2016-3510]
  5. GitHub: https://github.com/Bywalks/WeblogicScan
    [CVE-2016-3510]
  6. GitHub: https://github.com/Delishsploits/PayloadsAndMethodology
    [CVE-2016-3510]
  7. GitHub: https://github.com/GuynnR/Payloads
    [CVE-2016-3510]
  8. GitHub: https://github.com/Muhammd/Awesome-Payloads
    [CVE-2016-3510]
  9. GitHub: https://github.com/ParrotSec-CN/ParrotSecCN_Community_QQbot
    [CVE-2016-3510]
  10. GitHub: https://github.com/SexyBeast233/SecBooks
    [CVE-2016-3510]
  11. GitHub: https://github.com/XPR1M3/Payloads_All_The_Things
    [CVE-2016-3510]
  12. GitHub: https://github.com/andrysec/PayloadsAllVulnerability
    [CVE-2016-3510]
  13. GitHub: https://github.com/anhtu97/PayloadAllEverything
    [CVE-2016-3510]
  14. GitHub: https://github.com/apkadmin/PayLoadsAll
    [CVE-2016-3510]
  15. GitHub: https://github.com/awsassets/weblogic_exploit
    [CVE-2016-3510]
  16. GitHub: https://github.com/chanchalpatra/payload
    [CVE-2016-3510]
  17. GitHub: https://github.com/cross2to/betaseclab_tools
    [CVE-2016-3510]
  18. GitHub: https://github.com/dr0op/WeblogicScan
    [CVE-2016-3510]
  19. GitHub: https://github.com/fengjixuchui/RedTeamer
    [CVE-2016-3510]
  20. GitHub: https://github.com/followboy1999/weblogic-deserialization
    [CVE-2016-3510]
  21. GitHub: https://github.com/hanc00l/some_pocsuite
    [CVE-2016-3510]
  22. GitHub: https://github.com/hanc00l/weblogic_unserialize_exploit
    [CVE-2016-3510]
  23. GitHub: https://github.com/hmoytx/weblogicscan
    [CVE-2016-3510]
  24. GitHub: https://github.com/koutto/jok3r-pocs
    [CVE-2016-3510]
  25. GitHub: https://github.com/mrhacker51/ReverseShellCommands
    [CVE-2016-3510]
  26. GitHub: https://github.com/nihaohello/N-MiddlewareScan
    [CVE-2016-3510]
  27. GitHub: https://github.com/rabbitmask/WeblogicScanLot
    [CVE-2016-3510]
  28. GitHub: https://github.com/safe6Sec/wlsEnv
    [CVE-2016-3510]
  29. GitHub: https://github.com/sobinge/PayloadsAllThesobinge
    [CVE-2016-3510]
  30. GitHub: https://github.com/sobinge/--1
    [CVE-2016-3510]
  31. GitHub: https://github.com/whoadmin/pocs
    [CVE-2016-3510]
  32. GitHub: https://github.com/zema1/oracle-vuln-crawler
    [CVE-2016-3510]
  33. GitHub: https://github.com/0xn0ne/weblogicScanner
    [CVE-2016-3510: weblogic ...]
  34. GitHub: https://github.com/zhzhdoai/Weblogic_Vuln
    [CVE-2016-3510: CVE-2015-4852、CVE-2016-0638、CVE-2016-3510、CVE-2019-2890漏洞POC]

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 V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:ND
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)
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:X
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_weblogic_server_cpu_jul_2016.nasl nessus plugin source code. This script is Copyright (C) 2016-2022 Tenable Network Security, Inc.

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

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

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

  script_cve_id(
    "CVE-2016-3445",
    "CVE-2016-3499",
    "CVE-2016-3510",
    "CVE-2016-3586"
  );
  script_bugtraq_id(
    92003,
    92013,
    92016,
    92019
  );
  script_xref(name:"TRA", value:"TRA-2016-21");

  script_name(english:"Oracle WebLogic Server Multiple Vulnerabilities (July 2016 CPU)");

  script_set_attribute(attribute:"synopsis", value:
"An application server installed on the remote host is affected by
multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Oracle WebLogic Server installed on the remote host is
affected by multiple vulnerabilities :

  - An unspecified flaw exists in the Web Container
    subcomponent that allows an unauthenticated, remote
    attacker to cause a denial of service condition.
    (CVE-2016-3445)

  - An unspecified flaw exists in the Web Container
    subcomponent that allows an unauthenticated, remote
    attacker to execute arbitrary code. (CVE-2016-3499)

  - A remote code execution vulnerability exists in the WLS
    Core component due to unsafe deserialize calls to the
    weblogic.corba.utils.MarshallObject object. An
    unauthenticated, remote attacker can exploit this, via a
    specially crafted request, to execute arbitrary code.
    (CVE-2016-3510)

  - An unspecified flaw exists in the WLS Core component
    that allows an unauthenticated, remote attacker to
    execute arbitrary code. (CVE-2016-3586)");
  # http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?453b5f8c");
  script_set_attribute(attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2016-21");
  script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the July 2016 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:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:ND");
  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:X");

  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:'Oracle Weblogic Server Deserialization RCE - MarshalledObject');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2016/07/19");
  script_set_attribute(attribute:"patch_publication_date", value:"2016/07/19");
  script_set_attribute(attribute:"plugin_publication_date", value:"2016/07/20");

  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:weblogic_server");
  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) 2016-2022 Tenable Network Security, Inc.");

  script_dependencies("oracle_weblogic_server_installed.nbin");
  script_require_keys("installed_sw/Oracle WebLogic Server");

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("install_func.inc");

app_name = "Oracle WebLogic Server";

install = get_single_install(app_name:app_name, exit_if_unknown_ver:TRUE);
ohome = install["Oracle Home"];
subdir = install["path"];
version = install["version"];

fix = NULL;
fix_ver = NULL;

# individual security patches
if (version =~ "^10\.3\.6\.")
{
  fix_ver = "10.3.6.0.160719";
  fix = "23094342";
}
else if (version =~ "^12\.1\.3\.")
{
  fix_ver = "12.1.3.0.160719";
  fix = "23094292";
}
else if (version =~ "^12\.2\.1\.")
{
  fix_ver = "12.2.1.0.160719";
  fix = "23094285";
}

if (!isnull(fix_ver) && ver_compare(ver:version, fix:fix_ver, strict:FALSE) == -1)
{
  port = 0;
  report =
    '\n  Oracle home    : ' + ohome +
    '\n  Install path   : ' + subdir +
    '\n  Version        : ' + version +
    '\n  Required patch : ' + fix +
    '\n';
  security_report_v4(extra:report, port:port, severity:SECURITY_HOLE);
}
else audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, subdir);

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

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

Go back to menu.

How to Run


Here is how to run the Oracle WebLogic Server Multiple Vulnerabilities (July 2016 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 WebLogic Server Multiple Vulnerabilities (July 2016 CPU) plugin ID 92460.
  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_weblogic_server_cpu_jul_2016.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: TRA | Tenable Research Advisory: See also: Similar and related Nessus plugins:
  • 92606 - Oracle WebLogic Server Java Object Deserialization RCE (July 2016 CPU)
  • 86658 - Oracle MySQL 5.5.x < 5.5.46 Multiple Vulnerabilities (October 2015 CPU) (January 2016 CPU) (July 2016 CPU)
  • 91993 - MySQL 5.5.x < 5.5.50 Multiple Vulnerabilities (July 2016 CPU)
  • 86661 - Oracle MySQL 5.6.x < 5.6.27 Multiple Vulnerabilities (October 2015 CPU) (January 2016 CPU) (July 2016 CPU)
  • 90832 - Oracle MySQL 5.6.x < 5.6.30 Multiple Vulnerabilities (April 2016 CPU) (July 2016 CPU) (DROWN)
  • 90833 - Oracle MySQL 5.7.x < 5.7.11 Multiple Vulnerabilities (April 2016 CPU) (July 2016 CPU)
  • 90834 - Oracle MySQL 5.7.x < 5.7.12 Multiple Vulnerabilities (RPM Check) (April 2016 CPU) (July 2016 CPU) (October 2017 CPU) (DROWN)
  • 93121 - Oracle Access Manager Webgate Information Disclosure (July 2016 CPU)
  • 92461 - Oracle E-Business Multiple Vulnerabilities (July 2016 CPU)
  • 92585 - Oracle Enterprise Manager Cloud Control Multiple Vulnerabilities (July 2016 CPU)
  • 92542 - Oracle Fusion Middleware Oracle HTTP Server Multiple Vulnerabilities (July 2016 CPU)
  • 93592 - Oracle JDeveloper Multiple RCE (July 2016 CPU)
  • 92522 - Oracle Database Multiple Vulnerabilities (July 2016 CPU) (FREAK)
  • 92543 - Oracle Secure Global Desktop Multiple Vulnerabilities (July 2016 CPU)
  • 92458 - Oracle VM VirtualBox < 5.0.22 Multiple Vulnerabilities (July 2016 CPU)

Version


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

Go back to menu.