Lucene search
+L

IBM DB2 'DT_RPATH' Insecure Library Loading Code Execution Vulnerabilities

🗓️ 08 Nov 2011 00:00:00Reported by Copyright (c) 2011 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 41 Views

IBM DB2 'DT_RPATH' Insecure Library Loading Code Execution Vulnerabilities. Allows local unauthenticated users to gain elevated privileges and execute arbitrary code with root privilege

Related
Refs
Code
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ibm_db2_dt_rpath_insecure_lib_load_vuln.nasl 7024 2017-08-30 11:51:43Z teissa $
#
# IBM DB2 'DT_RPATH' Insecure Library Loading Code Execution Vulnerabilities
#
# Authors:
# Antu Sanadi <[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 allows local unauthenticated users to
gain elevated privileges and execute arbitrary code with root privileges.

Impact Level: Application.";

tag_affected = "IBM DB2 version 9.7";

tag_insight = "The flaws are due to an error in 'db2rspgn' and 'kbbacf1', which
allow users to gain privileges via a Trojan horse libkbb.so in the current
working directory.";

tag_solution = "Upgrade to version 9.7 Fix Pack 6, 10.1 Fix Pack 1, or higher,
http://www-01.ibm.com/support/docview.wss?rs=71&uid=swg27007053";

tag_summary = "The host is running IBM DB2 and is prone to insecure library
loading vulnerabilities.";

if(description)
{
  script_id(902489);
  script_version("$Revision: 7024 $");
  script_bugtraq_id(48514);
  script_cve_id("CVE-2011-4061");
  script_tag(name:"cvss_base", value:"6.9");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"$Date: 2017-08-30 13:51:43 +0200 (Wed, 30 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-11-08 15:07:48 +0530 (Tue, 08 Nov 2011)");
  script_name("IBM DB2 'DT_RPATH' Insecure Library Loading Code Execution Vulnerabilities");
  script_xref(name : "URL" , value : "http://www.securityfocus.com/archive/1/518659");
  script_xref(name : "URL" , value : "http://www.nth-dimension.org.uk/downloads.php?id=77");
  script_xref(name : "URL" , value : "http://www.nth-dimension.org.uk/downloads.php?id=83");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2011 SecPod");
  script_family("Databases");
  script_dependencies("gb_ibm_db2_remote_detect.nasl");
  script_mandatory_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);
  exit(0);
}


include("version_func.inc");

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

if(ibmVer =~ "^0907\.*")
{
  # IBM DB2 9.7 => 09000
  if(version_is_equal(version:ibmVer, test_version:"09000"))
  {
    security_message(0);
    exit(0);
  }
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

30 Aug 2017 00:00Current
1.1Low risk
Vulners AI Score1.1
EPSS0.00412
41