Lucene search
+L

Symantec Encryption Server Detection

🗓️ 18 Jun 2015 00:00:00Reported by Copyright (C) 2015 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 14 Views

This script consolidates SSH/LDAP based detection of Symantec Encryption Serve

Code
# SPDX-FileCopyrightText: 2015 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.105300");
  script_tag(name:"cvss_base", value:"0.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
  script_version("2023-07-25T05:05:58+0000");
  script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
  script_tag(name:"creation_date", value:"2015-06-18 13:47:55 +0200 (Thu, 18 Jun 2015)");
  script_name("Symantec Encryption Server Detection");

  script_tag(name:"summary", value:"This script consolidate SSH/LDAP based detection of Symantec Encryption Server");
  script_tag(name:"qod_type", value:"package");
  script_category(ACT_GATHER_INFO);
  script_family("Product detection");
  script_copyright("Copyright (C) 2015 Greenbone AG");
  script_dependencies("gather-package-list.nasl", "gb_symantec_encryption_server_ldap_version.nasl");
  script_mandatory_keys("symantec_encryption_server/installed");
  exit(0);
}

include("host_details.inc");

if( ! get_kb_item( "symantec_encryption_server/installed" ) ) exit( 0 );

source = "SSH";

cpe = 'cpe:/a:symantec:encryption_management_server';

oem_release = get_kb_item( "symantec_encryption_server/oem-release" );

if( oem_release )
{
  version_build = eregmatch( pattern:'([0-9.]+) \\(Build ([0-9]+)\\)', string:oem_release );

  if( ! isnull( version_build[1] ) )
  {
    vers = version_build[1];
    cpe += ':' + vers;
  }
  if( ! isnull( version_build[2] ) ) build = version_build[2];
}

if( ! vers || ! build )
{
  rls = get_kb_item( "symantec_encryption_server/rls" );
  if( rls )
  {
    version_build = eregmatch( pattern:'Symantec Encryption Server release ([^ \r\n]+)', string:rls );
    if( ! isnull( version_build[1] ) )
    {
       _v = split( version_build[1], sep:'.', keep:FALSE );
       if( max_index( _v ) == 4 )
       {
         if( ! vers )
         {
           vers = _v[0] + '.' + _v[1] + '.' + _v[2];
           cpe += ':' + vers;
         }
         if( ! build ) build =  _v[3];
       }
    }
  }
}

if( ! vers )
{
  vers = get_kb_item("symantec_encryption_server/ldap/version");
  if( vers )
  {
    source = "LDAP";
    cpe += ':' + vers;
  }
}

if( ! build )
  build = get_kb_item( "symantec_encryption_server/ldap/build" );

if( vers )
  set_kb_item( name:"symantec_encryption_server/version", value: vers );

if( build )
  set_kb_item( name:"symantec_encryption_server/build", value:build );

MP = get_kb_item( "symantec_encryption_server/MP" );
_mp = eregmatch( pattern:'MP([0-9]+)', string:MP );

if( ! isnull( _mp[1] ) )
{
  mp = _mp[1];
  set_kb_item( name:"symantec_encryption_server/MP_VALUE", value: mp );
}

register_product( cpe:cpe, location:source );

report = 'Detected Symantec Encryption Server\n' +
         'Version:          ' + vers + '\n';

if( build ) report += 'Build:            ' + build + '\n';
if( mp )    report += 'MP:               MP' + mp + '\n';

report += 'Detection source: ' + source + '\n';

log_message( port:0, data:report );

exit( 0 );

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

25 Jul 2023 00:00Current
7.1High risk
Vulners AI Score7.1
14