Lucene search

K
nessusThis script is Copyright (C) 2016-2022 and is owned by Tenable, Inc. or an Affiliate thereof.SYMANTEC_ENCRYPTION_SERVER_CVE-2015-8148.NASL
HistoryMar 11, 2016 - 12:00 a.m.

Symantec Encryption Management Server Remote Administrator Enumeration

2016-03-1100:00:00
This script is Copyright (C) 2016-2022 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
20

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

44.3%

The Symantec Encryption Management Server running on the remote host is affected by an information disclosure vulnerability when handling LDAP requests. An unauthenticated, remote attacker can exploit this, via a crafted request, to obtain sensitive information about administrator accounts.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(89871);
  script_version("1.11");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id("CVE-2015-8148");
  script_bugtraq_id(83271);

  script_name(english:"Symantec Encryption Management Server Remote Administrator Enumeration");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is affected by an information disclosure
vulnerability.");
  script_set_attribute(attribute:"description", value:
"The Symantec Encryption Management Server running on the remote host
is affected by an information disclosure vulnerability when handling
LDAP requests. An unauthenticated, remote attacker can exploit this,
via a crafted request, to obtain sensitive information about
administrator accounts.");
  # https://support.symantec.com/en_US/article.SYMSA1346.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?24f58288");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Symantec Encryption Management Server version 3.3.2 MP12");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/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:N/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-2015-8148");

  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:"2016/02/18");
  script_set_attribute(attribute:"patch_publication_date", value:"2016/02/18");
  script_set_attribute(attribute:"plugin_publication_date", value:"2016/03/11");

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

  script_dependencies("symantec_encryption_server_detect.nbin");
  script_require_keys("LDAP/symantec_encryption_server/detected");

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("kerberos_func.inc");
include("ldap_func.inc");

appname = "Symantec Encryption Management Server";
get_kb_item_or_exit("LDAP/symantec_encryption_server/detected");
port = get_service(svc:"ldap", default:389, exit_on_fail:TRUE);
version = get_kb_item_or_exit("LDAP/symantec_encryption_server/" + port + "/version");

# connect to the LDAP server
soc = open_sock_tcp(port);
if (!soc) audit(AUDIT_SOCK_FAIL, port);

# Query for all entries under pref where "surname" is present
ldap_init(socket:soc);
search = ldap_search_request(object:'o=Prefs', filter:'sn', scope:2);

# loop over the entries we got in response
adminlist = NULL;
for (ret = ldap_request_sendrecv(data:search);
     !isnull(ret) && ret[0] == LDAP_SEARCH_RES_ENTRY;
     ret = ldap_recv_next())
{
  item = eregmatch(pattern:"cn=(.+),o=prefs", string: ret[1]);
  if (!isnull(item)) adminlist += '   |  ' + item[1] + '\n'; 
}

if (!isnull(adminlist))
{
  report = '[+] List of administrator usernames:\n' + adminlist;
  security_report_v4(port:port, severity:SECURITY_WARNING, extra:report);
}
else
{
  if (version == "Unknown") audit(AUDIT_INST_VER_NOT_VULN, appname);
  build = get_kb_item("LDAP/symantec_encryption_server/" + port + "/build");
  if (isnull(build) || build == "Unknown") audit(AUDIT_INST_VER_NOT_VULN, appname, version);
  audit(AUDIT_INST_VER_NOT_VULN, appname, version, build);
}
VendorProductVersionCPE
symantecencryption_management_servercpe:/a:symantec:encryption_management_server

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

44.3%

Related for SYMANTEC_ENCRYPTION_SERVER_CVE-2015-8148.NASL