The host is installed with IBM DB2 and is prone to unspecified
vulnerabilities.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ibm_db2_clnt_intrfc_unspecified_vuln_lin.nasl 5055 2017-01-20 14:08:39Z teissa $
#
# IBM DB2 Client Interfaces component Unspecified Vulnerabilities (Linux)
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2009 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 bypass security restrictions.
Impact Level: System/Application";
tag_affected = "IBM DB2 version 8.2 prior to FP18
IBM DB2 version 9.1 prior to FP8
IBM DB2 version 9.5 prior to FP5
IBM DB2 version 9.7 prior to FP1";
tag_insight = "The flaw is due to an error in client interfaces component. It does
not validate an unspecified pointer, which allows attackers to overwrite
external memory via unknown vectors.";
tag_solution = "Update IBM DB2 8.2 FP18, 9.1 FP8, 9.5 FP5, 9.7 FP1,
http://www-01.ibm.com/support/docview.wss?rs=0&uid=swg24022678";
tag_summary = "The host is installed with IBM DB2 and is prone to unspecified
vulnerabilities.";
if(description)
{
script_id(901077);
script_version("$Revision: 5055 $");
script_tag(name:"last_modification", value:"$Date: 2017-01-20 15:08:39 +0100 (Fri, 20 Jan 2017) $");
script_tag(name:"creation_date", value:"2009-12-23 08:41:41 +0100 (Wed, 23 Dec 2009)");
script_tag(name:"cvss_base", value:"6.4");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:P");
script_cve_id("CVE-2009-4325");
script_bugtraq_id(37332);
script_name("IBM DB2 Client Interfaces component Unspecified Vulnerabilities (Linux)");
script_xref(name : "URL" , value : "ftp://ftp.software.ibm.com/ps/products/db2/fixes/english-us/aparlist/db2_v97/APARLIST.TXT");
script_xref(name : "URL" , value : "ftp://ftp.software.ibm.com/ps/products/db2/fixes/english-us/aparlist/db2_v95/APARLIST.TXT");
script_xref(name : "URL" , value : "ftp://ftp.software.ibm.com/ps/products/db2/fixes/english-us/aparlist/db2_v91/APARLIST.TXT");
script_xref(name : "URL" , value : "ftp://ftp.software.ibm.com/ps/products/db2/fixes/english-us/aparlist/db2_v82/APARLIST.TXT");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 SecPod");
script_family("Databases");
script_dependencies("secpod_ibm_db2_detect_linux_900217.nasl");
script_require_keys("Linux/IBM_db2/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:"qod_type", value:"executable_version");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("version_func.inc");
ibmVer = get_kb_item("Linux/IBM_db2/Ver");
if(!ibmVer){
exit(0);
}
# Check for IBM DB2 Version 8.2 before 8.2 FP18 (IBM DB2 8.2 FP 18 = 8.1.18)
# Check for IBM DB2 Version 9.5 before 9.5 FP5 (IBM DB2 9.5 FP 5 = 9.5.0.4)
# Check for IBM DB2 Version 9.1 before 9.1 FP8 (IBM DB2 9.1 FP 8 = 9.7.0.8)
# Check for IBM DB2 Version 9.7 before 9.7 FP1 (IBM DB2 9.7 FP 1 = 9.7.0.1)
if(version_is_equal(version:ibmVer, test_version:"9.7.0.0") ||
version_in_range(version:ibmVer, test_version:"8.1", test_version2:"8.1.17") ||
version_in_range(version:ibmVer, test_version:"9.1", test_version2:"9.1.0.7")||
version_in_range(version:ibmVer, test_version:"9.5", test_version2:"9.5.0.4")){
security_message(0);
}
ftp://ftp.software.ibm.com/ps/products/db2/fixes/english-us/aparlist/db2_v82/APARLIST.TXT
ftp://ftp.software.ibm.com/ps/products/db2/fixes/english-us/aparlist/db2_v91/APARLIST.TXT
ftp://ftp.software.ibm.com/ps/products/db2/fixes/english-us/aparlist/db2_v95/APARLIST.TXT
ftp://ftp.software.ibm.com/ps/products/db2/fixes/english-us/aparlist/db2_v97/APARLIST.TXT