IBM Tivoli Storage Manager Information Disclosure Vulnerability

2016-10-04T00:00:00
ID OPENVAS:1361412562310808637
Type openvas
Reporter Copyright (C) 2016 Greenbone Networks GmbH
Modified 2017-04-06T00:00:00

Description

This host is installed with IBM Tivoli Storage Manager and is prone to information disclosure vulnerability.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ibm_tiv_tsm_info_disclosure_vuln.nasl 5877 2017-04-06 09:01:48Z teissa $ 
#
# IBM Tivoli Storage Manager Information Disclosure Vulnerability
#
# Authors:
# Kashinath T <tkashinath@secpod.com>
#
# Copyright:
# Copyright (C) 2016 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.
###############################################################################

CPE = "cpe:/a:ibm:tivoli_storage_manager";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.808637");
  script_version("$Revision: 5877 $");
  script_cve_id("CVE-2016-2894");
  script_bugtraq_id(91534);
  script_tag(name:"cvss_base", value:"2.1");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:P/I:N/A:N");
  script_tag(name:"last_modification", value:"$Date: 2017-04-06 11:01:48 +0200 (Thu, 06 Apr 2017) $");
  script_tag(name:"creation_date", value:"2016-10-04 13:52:16 +0530 (Tue, 04 Oct 2016)");
  script_name("IBM Tivoli Storage Manager Information Disclosure Vulnerability");

  script_tag(name:"summary", value:"This host is installed with IBM Tivoli Storage
  Manager and is prone to information disclosure vulnerability.");

  script_tag(name:"vuldetect", value:"Get the installed version with the help
  of detect NVT and check the version is vulnerable or not.");

  script_tag(name:"insight", value:"The flaw is due to the ACL associated with a 
  file or directory object may be lost after an archive/retrieve on some condition.");

  script_tag(name:"impact", value:"Successful exploitation will allow a local 
  user to access files they are otherwise not allowed to access.

  Impact Level: Application");

  script_tag(name:"affected", value:"IBM Tivoli Storage Manager version 5.5 through
  6.3 before 6.3.2.6, 6.4 before 6.4.3.3, and 7.1 before 7.1.6");

  script_tag(name:"solution", value:"Upgrade to IBM Tivoli Storage Manager version
  6.3.2.6, or 6.4.3.3, or 7.1.6, or later. For updates refer to https://www.ibm.com");

  script_tag(name:"solution_type", value:"VendorFix");

  script_tag(name:"qod_type", value:"executable_version");

  script_xref(name : "URL" , value : "http://www-01.ibm.com/support/docview.wss?uid=swg21985579");

  script_copyright("Copyright (C) 2016 Greenbone Networks GmbH");
  script_category(ACT_GATHER_INFO);
  script_family("General");
  script_dependencies("gb_ibm_tiv_tsm_detect_lin.nasl");
  script_mandatory_keys("IBM/Tivoli/Storage/Manager/Linux/Ver");
  exit(0);
}


include("host_details.inc");
include("version_func.inc");

## Variable Initialization
tivVer = "";

## Get version
if(!tivVer = get_app_version(cpe:CPE)){
  exit(0);
}

## Check for vulnerable version
if(version_in_range(version:tivVer, test_version:"5.5", test_version2:"6.3.2.5"))
{
  fix = "6.3.2.6";
  VULN = TRUE;
}
 
else if(version_in_range(version:tivVer, test_version:"6.4", test_version2:"6.4.3.2"))
{
  fix = "6.4.3.3";
  VULN = TRUE;
}

else if(version_in_range(version:tivVer, test_version:"7.1", test_version2:"7.1.5"))
{
  fix = "7.1.6";
  VULN = TRUE;
}

if(VULN)
{
  report = report_fixed_ver(installed_version:tivVer, fixed_version:fix);
  security_message(data:report);
  exit(0);
}