7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0.976 High
EPSS
Percentile
100.0%
The version of Oracle WebLogic Server installed on the remote host is affected by a remote code execution vulnerability in the WLS9-async component due to unsafe deserialization of XML encoded Java objects. An unauthenticated, remote attacker can exploit this, via a crafted Java object, to execute arbitrary Java code in the context of the WebLogic server.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(124337);
script_version("1.15");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/12/05");
script_cve_id("CVE-2019-2725");
script_bugtraq_id(108074);
script_xref(name:"IAVA", value:"2019-A-0128");
script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/07/10");
script_xref(name:"CISA-NCAS", value:"AA22-011A");
script_xref(name:"CEA-ID", value:"CEA-2019-0242");
script_name(english:"Oracle WebLogic Server wls9_async_response / wls-wsat Remote Code Execution");
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 a remote code execution vulnerability in the WLS9-async component
due to unsafe deserialization of XML encoded Java objects. An unauthenticated,
remote attacker can exploit this, via a crafted Java object, to execute
arbitrary Java code in the context of the WebLogic server.");
# https://www.oracle.com/technetwork/security-advisory/alert-cve-2019-2725-5466295.html#AppendixFMW
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?95b9a80b");
script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the Oracle Security Alert
Advisory.
Refer to Oracle for any additional patch instructions or
mitigation options.");
script_set_attribute(attribute:"agent", value:"unix
windows");
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-2019-2725");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"exploit_framework_core", value:"true");
script_set_attribute(attribute:"exploited_by_malware", value:"true");
script_set_attribute(attribute:"metasploit_name", value:'Oracle Weblogic Server Deserialization RCE - AsyncResponseService');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"in_the_news", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2019/04/24");
script_set_attribute(attribute:"patch_publication_date", value:"2019/04/26");
script_set_attribute(attribute:"plugin_publication_date", value:"2019/04/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:weblogic_server");
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) 2019-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("oracle_weblogic_server_installed.nbin", "os_fingerprint.nasl");
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");
include("obj.inc");
include("spad_log_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_sets = [];
extra = NULL;
spad_log(message:"checking version [" + version + "]");
if (version =~ "^12\.1\.3\." && ver_compare(ver:version, fix:"12.1.3.0.190716", strict:FALSE) < 0)
{
fix_sets = [
{ 'fix_cpu' : '28710923', 'fix_adv' : '29694149'},
{ 'fix_cpu' : '29204657', 'fix_adv' : '29694149'},
{ 'fix_cpu' : '28710923', 'fix_adv' : '29792735'},
{ 'fix_cpu' : '29204657', 'fix_adv' : '29792736'},
{ 'fix_cpu' : '29633448', 'fix_adv' : '29633448'} # this little check-the-same-thing-2x code-hack allows us check for a supersede patch, thanks oracle!
];
extra = '28710923 and 29694149 or 29204657 and 29694149 or 29633448\n';
}
else if (version =~ "^10\.3\.6\." && ver_compare(ver:version, fix:"10.3.6.0.190716", strict:FALSE) < 0)
{
fix_sets = [
{ 'fix_cpu' : '7HKN', 'fix_adv' : 'ICDZ'},
{ 'fix_cpu' : 'U5I2', 'fix_adv' : 'IL49'},
{ 'fix_cpu' : '7HKN', 'fix_adv' : '5H68'},
{ 'fix_cpu' : 'U5I2', 'fix_adv' : '6JJ4'},
{ 'fix_cpu' : 'MXLE', 'fix_adv' : 'MXLE'} # this little check-the-same-thing-2x code-hack allows us check for a supersede patch, thanks oracle!
];
extra = '7HKN and ICDZ or U5I2 and IL49 or MXLE\n';
}
else
audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, subdir);
foreach fix (fix_sets)
{
if( !isnull(install[fix['fix_cpu']]) && !isnull(install[fix['fix_adv']]) )
audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, subdir);
}
os = get_kb_item_or_exit('Host/OS');
if ('windows' >< tolower(os))
{
port = get_kb_item('SMB/transport');
if (!port) port = 445;
}
else port = 0;
report =
'\n Oracle Home : ' + ohome +
'\n Install path : ' + subdir +
'\n Version : ' + version +
'\n Fix : ' + extra;
security_report_v4(extra:report, severity:SECURITY_HOLE, port:port);
Vendor | Product | Version | CPE |
---|---|---|---|
oracle | fusion_middleware | cpe:/a:oracle:fusion_middleware | |
oracle | weblogic_server | cpe:/a:oracle:weblogic_server |
7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0.976 High
EPSS
Percentile
100.0%