#
# Copyright (C) 2005 Secure Computer Group. University of A Coruna
#
# This script was written by Javier Munoz Mellid <[email protected]>
#
# This script is released under the GNU GPL v2
#
# Changes by Tenable:
# - Revised plugin title, removed VDB references that don't apply (6/17/09)
# - Added cpe and updated copyright (8/16/12)
include("compat.inc");
if(description)
{
script_id(18185);
script_version("$Revision: 1.11 $");
script_cvs_date("$Date: 2012/08/16 22:15:22 $");
script_name(english:"Kerio Winroute Firewall Admin Service Detection");
script_set_attribute(attribute:"synopsis", value:
"The administrative interface of a personal firewall is listening
on the remote port." );
script_set_attribute(attribute:"description", value:
"The remote host appears to be running Kerio Winroute Firewall
Admin service. It is recommended to block incoming traffic
to this port.
Also, make sure the use of this software matches your corporate
security policy." );
script_set_attribute(attribute:"solution", value:
"If this service is not needed, disable it or filter incoming traffic
to this port." );
script_set_attribute(attribute:"risk_factor", value:"None" );
script_set_attribute(attribute:"plugin_publication_date", value: "2005/05/02");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe",value:"cpe:/a:kerio:winroute_firewall");
script_end_attributes();
script_summary(english:"Determines if Kerio Winroute Firewall is installed");
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2005-2012 Javier Munoz Mellid");
script_family(english:"Service detection");
script_require_ports(44333);
exit(0);
}
port = 44333; # default kwf port
if (! get_port_state(port)) exit(0);
function kwf_isWeakAdminProtocol(port)
{
local_var i, r, s, soc, vuln;
soc = open_sock_tcp(port, transport: ENCAPS_TLSv1);
if (!soc) return 0;
vuln = 1;
for(i=0;i<5;i=i+1) {
s = raw_string(0x01);
send(socket:soc, data: s);
if (!soc) vuln = 0;
r = recv(socket: soc, length: 16);
if (isnull(r)||(strlen(r)!=2)||(ord(r[0])!=0x01)||(ord(r[1])!=0x00))
{
vuln = 0;
break;
}
}
close(soc);
if (vuln)
return 1;
else
return 0;
}
if (kwf_isWeakAdminProtocol(port:port)) 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