Lucene search

K
openvasCopyright (C) 2011 SecPodOPENVAS:901194
HistoryMar 25, 2011 - 12:00 a.m.

Kerio Products 'STARTTLS' Plaintext Command Injection Vulnerability

2011-03-2500:00:00
Copyright (C) 2011 SecPod
plugins.openvas.org
5

0.002 Low

EPSS

Percentile

58.1%

The host is running Kerio Mail Server/Connect and is prone to
plaintext command injection vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_kerio_products_starttls_cmd_inj_vuln.nasl 7029 2017-08-31 11:51:40Z teissa $
#
# Kerio Products 'STARTTLS' Plaintext Command Injection Vulnerability
#
# Authors:
# Sooraj KS <[email protected]>
#
# Copyright:
# Copyright (c) 2011 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), 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_impact = "Successful exploitation will allow attacker to execute arbitrary
commands in the context of the user running the application.

Impact Level: Application";

tag_affected = "Kerio MailServer versions 6.x Kerio Connect version 7.1.4
build 2985";

tag_insight = "This flaw is caused by an error within the 'STARTTLS'
implementation where the switch from plaintext to TLS is implemented below
the application's I/O buffering layer, which could allow attackers to inject
commands during the plaintext phase of the protocol via man-in-the-middle
attacks.";

tag_solution = "No solution or patch was made available for at least one year
since disclosure of this vulnerability. Likely none will be provided anymore.
General solution options are to upgrade to a newer release, disable respective
features, remove the product or replace the product by another one.";

tag_summary = "The host is running Kerio Mail Server/Connect and is prone to
plaintext command injection vulnerability.";

if(description)
{
  script_id(901194);
  script_version("$Revision: 7029 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-31 13:51:40 +0200 (Thu, 31 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-03-25 15:52:06 +0100 (Fri, 25 Mar 2011)");
  script_cve_id("CVE-2011-1506");
  script_bugtraq_id(46767);
  script_tag(name:"cvss_base", value:"6.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_name("Kerio Products 'STARTTLS' Plaintext Command Injection Vulnerability");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/43678");
  script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2011/0610");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 SecPod");
  script_family("Web application abuses");
  script_dependencies("gb_kerio_mailserver_detect.nasl");
  script_require_keys("KerioMailServer/Ver");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name:"solution_type", value:"WillNotFix");
  exit(0);
}


include("version_func.inc");

## Get Kerio Mail Server/Connect Version.
kerioVer = get_kb_item("KerioMailServer/Ver");
if(!kerioVer){
  exit(0);
}

## Check for the Kerio Mail Server/Connect Versions
if(version_in_range(version:kerioVer, test_version:"6.0", test_version2:"6.7.3.patch1") ||
   version_is_equal(version:kerioVer, test_version:"7.1.4")){
  security_message(0);
}

0.002 Low

EPSS

Percentile

58.1%

Related for OPENVAS:901194