Lucene search

K
openvasCopyright (C) 2009 SecPodOPENVAS:901079
HistoryDec 23, 2009 - 12:00 a.m.

IBM DB2 Self Tuning Memory Manager (STMM) DOS Vulnerability (Linux)

2009-12-2300:00:00
Copyright (C) 2009 SecPod
plugins.openvas.org
7

0.004 Low

EPSS

Percentile

73.3%

The host is installed with IBM DB2 and is prone to Denial of Service
vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ibm_db2_stmm_dos_vuln_lin.nasl 5055 2017-01-20 14:08:39Z teissa $
#
# IBM DB2 Self Tuning Memory Manager (STMM) DOS Vulnerability (Linux)
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Updated By:
# Antu Sanadi <[email protected]> on 2009/12/29 #6444
#
# 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 cause a denial of service
  or have other impact by writing to this file.
  Impact Level: System/Application";
tag_affected = "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 flaws are due to:
  - An error in Self Tuning Memory Manager (STMM) component when 0666
    permissions for the STMM log file  is used.
  - An error in Query Compiler, Rewrite, and Optimizer component does not enforce
    privilege requirements for access to a 'sequence' or 'global-variable' object,
    which allows remote users to make use of data via unspecified vectors.";
tag_solution = "Update IBM DB2 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 Denial of Service
  vulnerability.";

if(description)
{
  script_id(901079);
  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.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:P/A:P");
  script_cve_id("CVE-2009-4334", "CVE-2009-4438");
  script_bugtraq_id(37332);
  script_name("IBM DB2 Self Tuning Memory Manager (STMM) DOS Vulnerability (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_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 9.1 before 9.1 FP8  (IBM DB2 9.1 FP8 = 9.1.0.8)
# Check for IBM DB2 Version 9.5 before 9.5 FP5 (IBM DB2 9.5 FP5 = 9.5.0.5)
# Check for IBM DB2 Version 9.7 before 9.7 FP1  (IBM DB2 9.7 FP1 = 9.7.0.1)
if(version_is_equal(version:ibmVer, test_version:"9.7.0.0") ||
   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);
}

0.004 Low

EPSS

Percentile

73.3%

Related for OPENVAS:901079