code | #
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(69479);
script_version("1.9");
script_cvs_date("Date: 2018/11/15 20:50:18");
script_cve_id("CVE-2013-3769", "CVE-2013-3770", "CVE-2013-3772");
script_bugtraq_id(61220, 61223, 61228);
script_name(english:"Oracle WebCenter Content (July 2013 CPU)");
script_summary(english:"Checks the version of Oracle WebCenter Content");
script_set_attribute(
attribute:"synopsis",
value:"The remote host is affected by multiple vulnerabilities."
);
script_set_attribute(
attribute:"description",
value:
"The version of Oracle WebCenter Content installed on the remote host
is potentially affected by multiple vulnerabilities in the Content
Server, Site Studio, and Web Forms components."
);
# https://www.oracle.com/technetwork/topics/security/cpujuly2013-1899826.html
script_set_attribute(attribute:"see_also",value:"http://www.nessus.org/u?e1cbd417");
script_set_attribute(
attribute:"solution",
value:
"Apply the appropriate patch according to the July 2013 Oracle Critical
Patch Update advisory."
);
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date",value:"2013/07/17");
script_set_attribute(attribute:"patch_publication_date",value:"2013/07/17");
script_set_attribute(attribute:"plugin_publication_date",value:"2013/08/20");
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) 2013-2018 Tenable Network Security, Inc.");
script_dependencies("oracle_webcenter_content_detect.nasl");
script_exclude_keys("Settings/disable_cgi_scanning");
script_require_keys("installed_sw/Oracle WebCenter Content", "Settings/ParanoidReport");
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 = eregmatch(string:version, pattern:"([0-9.]+) \(([0-9.]+)\)");
if (isnull(matches)) audit(AUDIT_VER_FORMAT, version);
main_ver = matches[1];
sub_ver = matches[2];
report = '';
if(main_ver == "11.1.1.7.0")
{
# Patch 16925002:
# 11gR1-11.1.1.7.0-idcprod1-130611T200110
fix_dt = 130611;
fix_ts = 200110;
temp = split(sub_ver, sep:"T", keep:FALSE);
if(int(temp[0]) < fix_dt ||
(int(temp[0]) == fix_dt && int(temp[1]) < fix_ts))
{
report = '\n Installed Version : ' + main_ver + ' (' + sub_ver + ')' +
'\n Fixed Version : 11.1.1.7.0 (130611T200110)' +
'\n Required Patch : 16925002\n';
}
}
else if(main_ver == "11.1.1.6.0")
{
# Patch 16687552:
# 11gR1-11.1.1.6.0-idcprod1-130611T110021
fix_dt = 130611;
fix_ts = 110021;
temp = split(sub_ver, sep:"T", keep:FALSE);
if(int(temp[0]) < fix_dt ||
(int(temp[0]) == fix_dt && int(temp[1]) < fix_ts))
{
report = '\n Installed Version : ' + main_ver + ' (' + sub_ver + ')' +
'\n Fixed Version : 11.1.1.6.0 (130611T110021)' +
'\n Required Patch : 16687552\n';
}
}
else if(main_ver == "10.1.3.5.1")
{
# Patch 16920664
# 10.1.3.5.1 (130612)
fixed_build = 130612;
build = int(sub_ver);
if(build < fixed_build)
{
report = '\n Installed Version : ' + main_ver + ' (' + sub_ver + ')' +
'\n Fixed Version : 10.1.3.5.1 (130612)' +
'\n Required Patch : 16920664\n';
}
}
if(report == '')
audit(AUDIT_WEB_APP_NOT_AFFECTED, appname, install_url, version);
if(report_verbosity > 0)
security_warning(extra:report, port:port);
else security_warning(port);
|