The host is running IBM Tivoli Directory Server and is prone
to denial of service vulnerability.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ibm_tivoli_dir_server_ber_ldap_dos_vuln.nasl 7052 2017-09-04 11:50:51Z teissa $
#
# IBM Tivoli Directory Server LDAP BER Denial of Service Vulnerability
#
# Authors:
# Sooraj KS <[email protected]>
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# 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 crash an affected server,
creating a denial of service condition.
Impact Level: Application";
tag_affected = "IBM Tivoli Directory Server (ITDS) before 6.0.0.8-TIV-ITDS-IF0007";
tag_insight = "The flaw is due to a validation error when handling BER-encoded
LDAP requests and can be exploited to cause a crash via a specially crafted
request.";
tag_solution = "Apply interim fix 6.0.0.8-TIV-ITDS-IF0007
https://www-304.ibm.com/support/docview.wss?uid=swg1IO13306";
tag_summary = "The host is running IBM Tivoli Directory Server and is prone
to denial of service vulnerability.";
if(description)
{
script_id(801823);
script_version("$Revision: 7052 $");
script_tag(name:"last_modification", value:"$Date: 2017-09-04 13:50:51 +0200 (Mon, 04 Sep 2017) $");
script_tag(name:"creation_date", value:"2011-01-21 14:38:54 +0100 (Fri, 21 Jan 2011)");
script_cve_id("CVE-2010-4216");
script_bugtraq_id(44604);
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
script_name("IBM Tivoli Directory Server LDAP BER Denial of Service Vulnerability");
script_xref(name : "URL" , value : "http://secunia.com/advisories/42116");
script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/62977");
script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2010/2863");
script_tag(name:"qod_type", value:"remote_banner");
script_category(ACT_GATHER_INFO);
script_family("Denial of Service");
script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
script_dependencies("gb_ibm_tivoli_dir_server_detect.nasl");
script_require_keys("IBM/TDS/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);
exit(0);
}
include("version_func.inc");
## Get IBM Tivoli Directory Server version from KB
tdsVer = get_kb_item("IBM/TDS/Ver");
if(!tdsVer){
exit(0);
}
## Check For The Vulnerable Versions
if(version_in_range(version: tdsVer, test_version: "6.0", test_version2:"6.0.0.8")) {
security_message(0);
}