The remote Oracle Adaptive Access Manager installation is missing a vendor supplied update that fixes a flaw in Apache Struts which allows remote attackers to execute arbitrary code.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(78700);
script_version("1.12");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_cve_id("CVE-2014-0114");
script_bugtraq_id(67121);
script_name(english:"Oracle Adaptive Access Manager Server Arbitrary Code Execution (October 2014 CPU)");
script_set_attribute(attribute:"synopsis", value:
"The remote host is affected by a remote code execution vulnerability.");
script_set_attribute(attribute:"description", value:
"The remote Oracle Adaptive Access Manager installation is missing a
vendor supplied update that fixes a flaw in Apache Struts which allows
remote attackers to execute arbitrary code.");
# https://www.oracle.com/technetwork/topics/security/cpuoct2014-1972960.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1ada40cc");
script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the October 2014 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:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
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:'Apache Struts ClassLoader Manipulation Remote Code Execution');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2014/10/14");
script_set_attribute(attribute:"patch_publication_date", value:"2014/10/14");
script_set_attribute(attribute:"plugin_publication_date", value:"2014/10/28");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:fusion_middleware");
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) 2014-2022 Tenable Network Security, Inc.");
script_dependencies("oracle_adaptive_access_manager_installed.nbin");
script_require_keys("installed_sw/Oracle Adaptive Access Manager");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("oracle_rdbms_cpu_func.inc");
include("misc_func.inc");
include("install_func.inc");
product = "Oracle Adaptive Access Manager";
install = get_single_install(app_name:product, exit_if_unknown_ver:TRUE);
version = install['version'];
path = install['path'];
fixed = NULL;
patch = NULL;
report = NULL;
if (version =~ "^11\.1\.1\.5(\.|$)")
fixed = "11.1.1.5.3";
else if (version =~ "^11\.1\.1\.7(\.0|$)")
patch = '19768130';
else if (version =~ "^11\.1\.2\.1(\.|$)")
fixed = "11.1.2.1.3";
else if (version =~ "^11\.1\.2\.2(\.|$)")
fixed = "11.1.2.2.1";
if (!isnull(patch))
{
patches = find_patches_in_ohomes(ohomes:make_list(path));
vuln = TRUE;
if (!empty_or_null(patches))
if (!isnull(patches[path][patch])) vuln = FALSE;
if (vuln)
{
report =
'\n Path : ' + path +
'\n Installed version : ' + version +
'\n Required patch : ' + patch +
'\n';
}
}
else if (!isnull(fixed))
{
if (ver_compare(ver:version, fix:fixed, strict:FALSE) < 0)
{
report =
'\n Path : ' + path +
'\n Installed version : ' + version +
'\n Fixed version : ' + fixed +
'\n';
}
}
if (isnull(report)) audit(AUDIT_INST_PATH_NOT_VULN, product, version, path);
if (report_verbosity > 0) security_hole(port:0, extra:report);
else security_hole(port:0);
Vendor | Product | Version | CPE |
---|---|---|---|
oracle | fusion_middleware | cpe:/a:oracle:fusion_middleware |