Lucene search

K
openvasThis script is Copyright (C) 2003-2007 Tenable Network Security & Copyright (C) 2004 David MaciejakOPENVAS:80069
HistoryOct 24, 2008 - 12:00 a.m.

Kerio WebMail v5 multiple flaws

2008-10-2400:00:00
This script is Copyright (C) 2003-2007 Tenable Network Security & Copyright (C) 2004 David Maciejak
plugins.openvas.org
12

0.025 Low

EPSS

Percentile

90.2%

The remote host is running version 5 of the Kerio MailServer.

There are multiple flaws in this interface which may allow
an attacker with a valid webmail account on this host
to obtain a shell on this host or to perform
a cross-site-scripting attack against this host
with version prior to 5.6.4.

Version of MailServer prior to 5.6.5 are also prone to a
enial of service condition when an incorrect login to the
admin console occurs. This could cause the server to crash.

Version of MailServer prior to 5.7.7 is prone to a remotely
exploitable buffer overrun condition.
This vulnerability exists in the spam filter component.
If successfully exploited, this could permit remote attackers
to execute arbitrary code in the context of the MailServer software.
This could also cause a denial of service in the server.

*** This might be a false positive, as OpenVAS did not have*** the proper credentials to determine if the remote Kerio
*** is affected by this flaw.

# OpenVAS Vulnerability Test
# $Id: kerio_webmail_multiple_flaws.nasl 8023 2017-12-07 08:36:26Z teissa $
# Description: Kerio WebMail v5 multiple flaws
#
# Authors:
# Tenable Network Security
# Modified by David Maciejak <david dot maciejak at kyxar dot fr>
#
# Copyright:
# Copyright (C) 2003-2007 Tenable Network Security & Copyright (C) 2004 David Maciejak
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# 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.
#

tag_summary = "The remote host is running version 5 of the Kerio MailServer.

There are multiple flaws in this interface which may allow
an attacker with a valid webmail account on this host 
to obtain a shell on this host or to perform
a cross-site-scripting attack against this host
with version prior to 5.6.4.

Version of MailServer prior to 5.6.5 are also prone to a 
enial of service condition when an incorrect login to the
admin console occurs. This could cause the server to crash.

Version of MailServer prior to 5.7.7 is prone to a remotely 
exploitable buffer overrun condition.
This vulnerability exists in the spam filter component. 
If successfully exploited, this could permit remote attackers 
to execute arbitrary code in the context of the MailServer software. 
This could also cause a denial of service in the server.


*** This might be a false positive, as OpenVAS did not have
*** the proper credentials to determine if the remote Kerio
*** is affected by this flaw.";

tag_solution = "Upgrade to Kerio MailServer 5.7.7 or newer";

# Ref 1:
#  Date: Wed, 18 Jun 2003 21:58:51 +0200 (CEST)
#  Subject: Multiple buffer overflows and XSS in Kerio MailServer
#  From: "David F.Madrid" <[email protected]>
#  To: <[email protected]>
# Ref 2:
#  Abraham Lincoln" <[email protected]>

if(description)
{
 script_id(80069);;
 script_version("$Revision: 8023 $");
 script_tag(name:"last_modification", value:"$Date: 2017-12-07 09:36:26 +0100 (Thu, 07 Dec 2017) $");
 script_tag(name:"creation_date", value:"2008-10-24 23:33:44 +0200 (Fri, 24 Oct 2008)");
 script_tag(name:"cvss_base", value:"7.5");
 script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");

 script_cve_id("CVE-2002-1434", "CVE-2003-0487", "CVE-2003-0488");
 script_bugtraq_id(5507, 7966, 7967, 7968, 8230, 9975);
 script_xref(name:"OSVDB", value:"2159");
 script_xref(name:"OSVDB", value:"4953");
 script_xref(name:"OSVDB", value:"4954");
 script_xref(name:"OSVDB", value:"4955");
 script_xref(name:"OSVDB", value:"4956");
 script_xref(name:"OSVDB", value:"4958");

 name = "Kerio WebMail v5 multiple flaws";
 script_name(name);
 


 
 
 script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"remote_banner");
 
 
 script_copyright("This script is Copyright (C) 2003-2007 Tenable Network Security & Copyright (C) 2004 David Maciejak");
 family = "Gain a shell remotely";
 script_family(family);
 script_dependencies("find_service1.nasl", "http_version.nasl");
 script_require_ports("Services/www", 80);
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}


include("http_func.inc");
include("http_keepalive.inc");


port = get_http_port(default:80);
if(!get_port_state(port)) exit(0);

res = http_get_cache(item:"/", port:port);
if (egrep(string:res, pattern:"^Server: Kerio MailServer ([0-4]\.|5\.[0-6]\.|5\.7\.[0-6])") )	
{
 		security_message(port);
  set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
}

0.025 Low

EPSS

Percentile

90.2%

Related for OPENVAS:80069