Lucene search

K
nessusThis script is Copyright (C) 2017-2022 and is owned by Tenable, Inc. or an Affiliate thereof.ORACLE_IDENTITY_MANAGEMENT_CVE-2017-10151_LOCAL.NASL
HistoryNov 01, 2017 - 12:00 a.m.

Oracle Identity Manager Default Account Local Check (CVE-2017-10151)

2017-11-0100:00:00
This script is Copyright (C) 2017-2022 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
95

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

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

0.005 Low

EPSS

Percentile

75.3%

The remote host is missing a security update for Oracle Identity Manager. It, therefore, has a default account enabled that allows an unauthenticated, remote attacker 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(104324);
  script_version("1.13");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/05/16");

  script_cve_id("CVE-2017-10151");

  script_name(english:"Oracle Identity Manager Default Account Local Check (CVE-2017-10151)");

  script_set_attribute(attribute:"synopsis", value:
"An application installed on the remote host has a default account
that allows remote code execution.");
  script_set_attribute(attribute:"description", value:
"The remote host is missing a security update for Oracle Identity
Manager. It, therefore, has a default account enabled that allows an
unauthenticated, remote attacker to execute arbitrary code.");
  # http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-10151-4016513.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?85d29654");
  script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the Oracle 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:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-10151");

  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:"2017/10/30");
  script_set_attribute(attribute:"patch_publication_date", value:"2017/11/03");
  script_set_attribute(attribute:"plugin_publication_date", value:"2017/11/01");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:identity_manager");
  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) 2017-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("oracle_identity_management_installed.nbin");
  script_require_keys("installed_sw/Oracle Identity Manager");

  exit(0);
}

include("global_settings.inc");
include("oracle_rdbms_cpu_func.inc");
include("misc_func.inc");
include("install_func.inc");

var product = "Oracle Identity Manager";
var install = get_single_install(app_name:product, exit_if_unknown_ver:TRUE);

var version = install['version'];
path = install['path'];

var report = NULL;
var fixes = NULL;

#https://support.oracle.com/epmos/faces/PatchDetail?_afrLoop=334678265579548&patchId=30909306&_afrWindowMode=0&_adf.ctrl-state=szkkcg444_53
#https://updates.oracle.com/Orion/Services/download?type=readme&aru=23399672

if (version =~ "^11\.1\.1\.7(\.|$)")
  fixes = make_list("27037128");
else if (version =~ "^11\.1\.2\.3(\.|$)")
  fixes = make_list("27037128","27377675","27789871","28214994", "30338509", "30909306", "33111451");
else if (version =~ "^12\.2\.1\.3(\.|$)")
  fixes = make_list("27037128","27250679","27704994");
else
  audit(AUDIT_INST_PATH_NOT_VULN, product, version, path);

var patched = FALSE;

var ohomes = make_list(path);
var patches = find_patches_in_ohomes(ohomes:ohomes);

foreach patch (keys(patches[path]))
{
  foreach fix (fixes)
  {
    if (patch == fix)
    {
      patched = TRUE;
      break;
    }
  }
}

if (patched)
  audit(AUDIT_INST_PATH_NOT_VULN, product, version + ' with patch ' + fix, path);

report =
  '\n  Path              : ' + path +
  '\n  Installed version : ' + version +
  '\n  Required patch    : ' + fixes[0] +
  '\n';

security_report_v4(port:0, extra:report, severity:SECURITY_HOLE);
VendorProductVersionCPE
oracleidentity_managercpe:/a:oracle:identity_manager

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

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

0.005 Low

EPSS

Percentile

75.3%

Related for ORACLE_IDENTITY_MANAGEMENT_CVE-2017-10151_LOCAL.NASL