code | #
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(104046);
script_version("1.6");
script_cvs_date("Date: 2019/11/12");
script_cve_id(
"CVE-2017-3444",
"CVE-2017-3445",
"CVE-2017-3446",
"CVE-2017-10066",
"CVE-2017-10077",
"CVE-2017-10303",
"CVE-2017-10322",
"CVE-2017-10323",
"CVE-2017-10324",
"CVE-2017-10325",
"CVE-2017-10326",
"CVE-2017-10328",
"CVE-2017-10329",
"CVE-2017-10330",
"CVE-2017-10331",
"CVE-2017-10332",
"CVE-2017-10387",
"CVE-2017-10409",
"CVE-2017-10410",
"CVE-2017-10411",
"CVE-2017-10412",
"CVE-2017-10413",
"CVE-2017-10414",
"CVE-2017-10415",
"CVE-2017-10416",
"CVE-2017-10417"
);
script_bugtraq_id(
101298,
101300,
101303,
101308,
101311,
101325,
101327,
101330,
101332,
101336,
101340,
101345,
101349,
101353,
101358,
101361,
101365,
101367,
101372,
101376,
101389,
101391,
101393,
101398,
101401,
101404
);
script_name(english:"Oracle E-Business Multiple Vulnerabilities (October 2017 CPU)");
script_summary(english:"Checks for the October 2017 CPU.");
script_set_attribute(attribute:"synopsis", value:
"A web application installed on the remote host is affected by multiple
vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of Oracle E-Business installed on the remote host is
12.x.x prior to 12.2.8. It is, therefore, affected by multiple
vulnerabilities as noted in the October 2017 Critical Patch Update
advisory. Please consult the CVRF details for the applicable CVEs
for additional information.
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/cpuoct2017-3236626.html#AppendixEBS
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?aa3bc68b");
script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the October 2017
Oracle Critical Patch Update advisory.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/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:N");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-10330");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2017/10/18");
script_set_attribute(attribute:"patch_publication_date", value:"2017/10/18");
script_set_attribute(attribute:"plugin_publication_date", value:"2017/10/20");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:e-business_suite");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("oracle_e-business_query_patch_info.nbin");
script_require_keys("Oracle/E-Business/Version", "Oracle/E-Business/patches/installed");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
version = get_kb_item_or_exit("Oracle/E-Business/Version");
patches = get_kb_item_or_exit("Oracle/E-Business/patches/installed");
# Batch checks
if (patches) patches = split(patches, sep:',', keep:FALSE);
else patches = make_list();
p12_1 = '26574496';
p12_2 = '26574498';
# Check if the installed version is an affected version
affected_versions = make_array(
'12.1.1', make_list(p12_1),
'12.1.2', make_list(p12_1),
'12.1.3', make_list(p12_1),
'12.2.3', make_list(p12_2),
'12.2.4', make_list(p12_2),
'12.2.5', make_list(p12_2),
'12.2.6', make_list(p12_2),
'12.2.7', make_list(p12_2)
);
patched = FALSE;
affectedver = FALSE;
if (affected_versions[version])
{
affectedver = TRUE;
patchids = affected_versions[version];
foreach required_patch (patchids)
{
foreach applied_patch (patches)
{
if(required_patch == applied_patch)
{
patched = applied_patch;
break;
}
}
if(patched) break;
}
if(!patched) patchreport = join(patchids,sep:" or ");
}
if (!patched && affectedver)
{
report =
'\n Installed version : '+version+
'\n Fixed version : '+version+' Patch '+patchreport+
'\n';
security_report_v4(port:0,extra:report,severity:SECURITY_WARNING);
}
else if (!affectedver) audit(AUDIT_INST_VER_NOT_VULN, 'Oracle E-Business', version);
else exit(0, 'The Oracle E-Business server ' + version + ' is not affected because patch ' + patched + ' has been applied.');
|