ID OPENVAS:1361412562310105440 Type openvas Reporter Copyright (C) 2015 Greenbone Networks GmbH Modified 2021-04-15T00:00:00
Description
This Script get the via HTTP(s) or SSH detected Cisco Email Security Appliance
version
###############################################################################
# OpenVAS Vulnerability Test
#
# Cisco Email Security Appliance Detection
#
# Authors:
# Michael Meyer <michael.meyer@greenbone.net>
#
# Copyright:
# Copyright (c) 2015 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.105440");
script_version("2021-04-15T13:23:31+0000");
script_tag(name:"last_modification", value:"2021-04-15 13:23:31 +0000 (Thu, 15 Apr 2021)");
script_tag(name:"creation_date", value:"2015-11-09 13:54:40 +0100 (Mon, 09 Nov 2015)");
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_name("Cisco Email Security Appliance Detection");
script_category(ACT_GATHER_INFO);
script_family("Product detection");
script_copyright("Copyright (C) 2015 Greenbone Networks GmbH");
script_dependencies("gb_cisco_esa_web_detect.nasl", "gather-package-list.nasl");
script_mandatory_keys("cisco_esa/installed");
script_tag(name:"summary", value:"This Script get the via HTTP(s) or SSH detected Cisco Email Security Appliance
version");
script_tag(name:"qod_type", value:"package");
exit(0);
}
include("host_details.inc");
include("os_func.inc");
source = 'SSH';
version = get_kb_item("cisco_esa/version/ssh");
if( ! version )
{
version = get_kb_item("cisco_esa/version/http");
source = 'HTTP(s)';
}
if( ! version ) exit( 0 );
model = get_kb_item("cisco_esa/model/ssh");
if( ! model ) model = get_kb_item("cisco_esa/model/http");
set_kb_item( name:"cisco_esa/version", value:version );
if( model ) set_kb_item( name:"cisco_esa/model", value:model );
cpe = 'cpe:/h:cisco:email_security_appliance:' + version;
register_product( cpe:cpe );
os_register_and_report( os:"Cisco AsyncOS", cpe:"cpe:/o:cisco:asyncos:" + version, banner_type:source, desc:"Cisco Email Security Appliance Detection", runs_key:"unixoide" );
report = 'Detected Cisco Email Security Appliance\nVersion: ' + version + '\nCPE: ' + cpe;
if( model ) report += '\nModel: ' + model;
report += '\nDetection source: ' + source;
log_message( port:0, data:report );
exit( 0 );
{"id": "OPENVAS:1361412562310105440", "type": "openvas", "bulletinFamily": "scanner", "title": "Cisco Email Security Appliance Detection", "description": "This Script get the via HTTP(s) or SSH detected Cisco Email Security Appliance\nversion", "published": "2015-11-09T00:00:00", "modified": "2021-04-15T00:00:00", "cvss": {"score": 0.0, "vector": "NONE"}, "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310105440", "reporter": "Copyright (C) 2015 Greenbone Networks GmbH", "references": [], "cvelist": [], "immutableFields": [], "lastseen": "2021-04-19T12:27:49", "viewCount": 1, "enchantments": {"score": {"value": 0.2, "vector": "NONE"}, "dependencies": {}, "backreferences": {}, "exploitation": null, "vulnersScore": 0.2}, "pluginID": "1361412562310105440", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Cisco Email Security Appliance Detection\n#\n# Authors:\n# Michael Meyer <michael.meyer@greenbone.net>\n#\n# Copyright:\n# Copyright (c) 2015 Greenbone Networks GmbH\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU General Public License\n# as published by the Free Software Foundation; either version 2\n# of the License, or (at your option) any later version\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.105440\");\n script_version(\"2021-04-15T13:23:31+0000\");\n script_tag(name:\"last_modification\", value:\"2021-04-15 13:23:31 +0000 (Thu, 15 Apr 2021)\");\n script_tag(name:\"creation_date\", value:\"2015-11-09 13:54:40 +0100 (Mon, 09 Nov 2015)\");\n script_tag(name:\"cvss_base\", value:\"0.0\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:N/I:N/A:N\");\n\n script_name(\"Cisco Email Security Appliance Detection\");\n\n script_category(ACT_GATHER_INFO);\n script_family(\"Product detection\");\n script_copyright(\"Copyright (C) 2015 Greenbone Networks GmbH\");\n script_dependencies(\"gb_cisco_esa_web_detect.nasl\", \"gather-package-list.nasl\");\n script_mandatory_keys(\"cisco_esa/installed\");\n\n script_tag(name:\"summary\", value:\"This Script get the via HTTP(s) or SSH detected Cisco Email Security Appliance\nversion\");\n\n script_tag(name:\"qod_type\", value:\"package\");\n\n exit(0);\n}\n\ninclude(\"host_details.inc\");\ninclude(\"os_func.inc\");\n\nsource = 'SSH';\n\nversion = get_kb_item(\"cisco_esa/version/ssh\");\nif( ! version )\n{\n version = get_kb_item(\"cisco_esa/version/http\");\n source = 'HTTP(s)';\n}\n\nif( ! version ) exit( 0 );\n\nmodel = get_kb_item(\"cisco_esa/model/ssh\");\nif( ! model ) model = get_kb_item(\"cisco_esa/model/http\");\n\nset_kb_item( name:\"cisco_esa/version\", value:version );\n\nif( model ) set_kb_item( name:\"cisco_esa/model\", value:model );\n\ncpe = 'cpe:/h:cisco:email_security_appliance:' + version;\n\nregister_product( cpe:cpe );\n\nos_register_and_report( os:\"Cisco AsyncOS\", cpe:\"cpe:/o:cisco:asyncos:\" + version, banner_type:source, desc:\"Cisco Email Security Appliance Detection\", runs_key:\"unixoide\" );\n\nreport = 'Detected Cisco Email Security Appliance\\nVersion: ' + version + '\\nCPE: ' + cpe;\nif( model ) report += '\\nModel: ' + model;\n\nreport += '\\nDetection source: ' + source;\n\nlog_message( port:0, data:report );\nexit( 0 );\n\n", "naslFamily": "Product detection", "cvss2": {}, "cvss3": {}, "_state": {"dependencies": 1645355438}}