| Source | Link |
|---|---|
| nessus | www.nessus.org/u |
##
# (C) Tenable Network Security, Inc.
##
include('compat.inc');
if (description)
{
script_id(69074);
script_version("1.12");
script_set_attribute(attribute:"plugin_modification_date", value:"2025/10/02");
script_name(english:"Cisco Email Security Appliance Web Detection");
script_summary(english:"Looks for the ESA login page.");
script_set_attribute(
attribute:"synopsis",
value:"A web management interface was detected on the remote host."
);
script_set_attribute(
attribute:"description",
value:
"The web management interface for Cisco Email Security Appliance was
detected on the remote host."
);
# https://www.cisco.com/c/en/us/products/security/email-security/index.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a744d445");
script_set_attribute(attribute:"solution", value:"n/a");
script_set_attribute(attribute:"risk_factor", value:"None");
script_set_attribute(attribute:"plugin_publication_date", value:"2013/07/26");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/h:cisco:email_security_appliance");
script_set_attribute(attribute:"asset_inventory", value:"True");
script_set_attribute(attribute:"hardware_inventory", value:"True");
script_set_attribute(attribute:"os_identification", value:"True");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CISCO");
script_copyright(english:"This script is Copyright (C) 2013-2025 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("http_version.nasl");
script_require_ports("Services/www", 443);
exit(0);
}
include('http.inc');
include('webapp_func.inc');
var port = get_http_port(default:443);
var dir = '';
var page = '/login?redirects=10';
var url = dir + page;
var old_regex = "<title>\s*Cisco\s*Email Security (Virtual )?Appliance";
var new_regex = "<title>\s*Cisco\s*Gateway";
var res = http_send_recv3(method:'GET', item:url, port:port, exit_on_fail:TRUE);
var model, ver, install;
if (res[2] !~ old_regex && res[2] !~ new_regex)
audit(AUDIT_WEB_APP_NOT_INST, 'Cisco Email Security Appliance', port);
var match = pregmatch(string:res[2], pattern:'<p class="text_login_model">\\s*([^<]+)</p>');
if (!isnull(match))
{
model = match[1];
# Newlines might end up in the model name, we need to remove them
model = str_replace(string:model, find:'\n', replace:'');
set_kb_item(name:'cisco_esa/' + port + '/model', value:model);
}
match = pregmatch(string:res[2], pattern:"Version: ([0-9.-]+)<");
if (isnull(match))
ver = NULL;
else
ver = match[1];
# required for compatibility with ccf.inc
set_kb_item(name:'Host/AsyncOS/Cisco Email Security Appliance/Version', value:ver);
set_kb_item(name:'Host/AsyncOS/Cisco Email Security Appliance/Model', value:model);
set_kb_item(name:'Host/AsyncOS/Cisco Email Security Appliance/Port', value:port);
install = add_install(appname:'cisco_esa', dir:dir, port:port, ver:ver, cpe: "cpe:/h:cisco:email_security_appliance");
if (report_verbosity > 0)
{
report = get_install_report(display_name:'Cisco Email Security Appliance', installs:install, port:port);
security_note(port:port, extra:report);
}
else security_note(port);
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