code | #
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(101896);
script_version("1.7");
script_cvs_date("Date: 2019/11/13");
script_cve_id("CVE-2017-10040", "CVE-2017-10075");
script_bugtraq_id(99801, 99807);
script_name(english:"Oracle WebCenter Content Server Multiple Vulnerabilities (July 2017 CPU)");
script_summary(english:"Checks the version of Oracle WebCenter Content.");
script_set_attribute(attribute:"synopsis", value:
"An application running on the remote host is affected by multiple
vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of Oracle WebCenter Content running on the remote host is
affected by multiple vulnerabilities :
- An unspecified flaw exists in the Content Server
component that allows an unauthenticated, remote
attacker to impact confidentiality and integrity. Note
that this issue only applies to versions 11.1.1.9.0 and
12.2.1.1.0. (CVE-2017-10040)
- An unspecified flaw exists in the Content Server
component that allows an unauthenticated, remote
attacker to impact confidentiality and integrity.
(CVE-2017-10075)");
# https://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html#AppendixFMW
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d003111a");
script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the July 2017 Oracle
Critical Patch Update advisory.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-10075");
script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2017/07/18");
script_set_attribute(attribute:"patch_publication_date", value:"2017/07/18");
script_set_attribute(attribute:"plugin_publication_date", value:"2017/07/21");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:fusion_middleware");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("oracle_webcenter_content_detect.nasl");
script_require_keys("installed_sw/Oracle WebCenter Content", "Settings/ParanoidReport");
script_exclude_keys("Settings/disable_cgi_scanning");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("webapp_func.inc");
appname = "Oracle WebCenter Content";
if (report_paranoia < 2) audit(AUDIT_PARANOID);
get_install_count(app_name:appname, exit_if_zero:TRUE);
port = get_http_port(default:80);
install = get_single_install(app_name:appname, port:port, exit_if_unknown_ver:TRUE);
version = install['version'];
dir = install['path'];
install_url = build_url(port: port, qs:dir);
matches = pregmatch(string:version, pattern:"([0-9.]+) \(([0-9.]+)\)");
if (isnull(matches)) audit(AUDIT_VER_FORMAT, version);
main_ver = matches[1];
sub_ver = matches[2];
build = int(sub_ver);
fixed_build = 0;
report = '';
if (main_ver == "12.2.1.2.0")
{
# Patch 26355487
# 12.2.1.2.0 (155055)
fixed_build = 155055;
patch = 26355487;
}
else if (main_ver == "12.2.1.1.0")
{
# Patch 26328204
# 12.2.1.1.0 (154828)
fixed_build = 154828;
patch = 26328204;
}
else if (main_ver == "11.1.1.9.0")
{
# Patch 25475105
# 11.1.1.9.0 (151084)
fixed_build = 151084;
patch = 25475105;
}
if (build < fixed_build)
{
report = '\n Installed version : ' + main_ver + ' (' + sub_ver + ')' +
'\n Fixed version : ' + main_ver + ' (' + fixed_build + ')' +
'\n Required patch : ' + patch + '\n';
}
if (report == '') audit(AUDIT_WEB_APP_NOT_AFFECTED, appname, install_url, version);
else security_report_v4(port:port, extra:report, severity:SECURITY_WARNING);
|