Lucene search

K
openvasCopyright (C) 2012 Greenbone Networks GmbHOPENVAS:802727
HistoryApr 03, 2012 - 12:00 a.m.

IBM DB2 'nodes.reg' Permission Weakness Vulnerability

2012-04-0300:00:00
Copyright (C) 2012 Greenbone Networks GmbH
plugins.openvas.org
6

0.002 Low

EPSS

Percentile

65.1%

The host is running IBM DB2 and is prone to permission weakness
vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ibm_db2_nodes_perm_weak_vuln.nasl 5963 2017-04-18 09:02:14Z teissa $
#
# IBM DB2 'nodes.reg' Permission Weakness Vulnerability
#
# Authors:
# Madhuri D <[email protected]>
#
# Copyright:
# Copyright (c) 2012 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 = "Unknown impact.

Impact Level: Application";

tag_affected = "IBM DB2 version 9.5";

tag_insight = "The flaw is due to the 'nodes.reg' file, which is having insecure
world writable permissions.";

tag_solution = "Upgrade to IBM DB2 version 9.5 Fix Pack 9.
For updates refer to http://www-01.ibm.com/support/docview.wss?rs=71&uid=swg27007053";

tag_summary = "The host is running IBM DB2 and is prone to permission weakness
vulnerability.";

if(description)
{
  script_id(802727);
  script_version("$Revision: 5963 $");
  script_cve_id("CVE-2012-1797");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"$Date: 2017-04-18 11:02:14 +0200 (Tue, 18 Apr 2017) $");
  script_tag(name:"creation_date", value:"2012-04-03 10:43:50 +0530 (Tue, 03 Apr 2012)");
  script_name("IBM DB2 'nodes.reg' Permission Weakness Vulnerability");


  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2012 Greenbone Networks GmbH");
  script_family("Databases");
  script_dependencies("gb_ibm_db2_remote_detect.nasl");
  script_require_keys("IBM-DB2/Remote/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_xref(name : "URL" , value : "http://secunia.com/advisories/48279/");
  script_xref(name : "URL" , value : "http://www-01.ibm.com/support/docview.wss?crawler=1&uid=swg1IC79518");
  exit(0);
}


include("version_func.inc");

## Variable Initialization
ibmVer = "";

ibmVer = get_kb_item("IBM-DB2/Remote/ver");
if(!ibmVer){
  exit(0);
}

# IBM DB2 9.5 => 0905
if(version_is_equal(version:ibmVer, test_version:"0905")){
  security_message(0);
}

0.002 Low

EPSS

Percentile

65.1%