Lucene search

K
openvasCopyright (C) 2011 Greenbone Networks GmbHOPENVAS:802400
HistoryNov 04, 2011 - 12:00 a.m.

IBM WebSphere Application Server JNDI information disclosure Vulnerability

2011-11-0400:00:00
Copyright (C) 2011 Greenbone Networks GmbH
plugins.openvas.org
5

0.003 Low

EPSS

Percentile

65.6%

The host is running IBM WebSphere Application Server and is prone
to information disclosure vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ibm_was_jndi_imp_info_disclosure_vuln.nasl 7044 2017-09-01 11:50:59Z teissa $
#
# IBM WebSphere Application Server JNDI information disclosure Vulnerability
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2011 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_solution = "For WebSphere Application Server 6.0:
  Apply the latest Fix Pack (6.0.2.39 or later) or APAR PK91414

  For WebSphere Application Server 6.1:
  Apply the latest Fix Pack (6.1.0.29 or later) or APAR PK91414

  For WebSphere Application Server 7.1:
  Apply the latest Fix Pack (7.0.0.7 or later) or APAR PK91414

  For updates refer to http://www.ibm.com/support/docview.wss?uid=swg1PK91414";

tag_impact = "Successful exploitation will let remote unauthorized attackers to access
  or view files or obtain sensitive information.
  Impact Level: Application";
tag_affected = "IBM WebSphere Application Server (WAS) 6.0 before 6.0.2.39,
  6.1 before 6.1.0.29, and 7.0 before 7.0.0.7";
tag_insight = "The flaw is due to error in the Naming and Directory Interface (JNDI)
  implementation. It does not properly restrict access to UserRegistry object
  methods, which allows remote attackers to obtain sensitive information via a
  crafted method call.";
tag_summary = "The host is running IBM WebSphere Application Server and is prone
  to information disclosure vulnerability.";

if(description)
{
  script_id(802400);
  script_version("$Revision: 7044 $");
  script_cve_id("CVE-2009-2747");
  script_bugtraq_id(37355);
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_tag(name:"last_modification", value:"$Date: 2017-09-01 13:50:59 +0200 (Fri, 01 Sep 2017) $");
  script_tag(name:"creation_date", value:"2011-11-04 15:09:13 +0530 (Fri, 04 Nov 2011)");
  script_name("IBM WebSphere Application Server JNDI information disclosure Vulnerability");

  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/54228");
  script_xref(name : "URL" , value : "http://www.ibm.com/support/docview.wss?uid=swg1PK99480");
  script_xref(name : "URL" , value : "http://www.ibm.com/support/docview.wss?uid=swg1PK91414");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
  script_family("Web Servers");
  script_dependencies("gb_ibm_websphere_detect.nasl");
  script_require_ports("Services/www", 80);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "solution" , value : tag_solution);
  exit(0);
}

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

CPE = 'cpe:/a:ibm:websphere_application_server';

if( ! vers = get_app_version( cpe:CPE, nofork:TRUE ) ) exit( 0 );


## Check for IBM WebSphere Application Server versions
if(version_in_range(version: vers, test_version: "7.0", test_version2: "7.0.0.6") ||
   version_in_range(version: vers, test_version: "6.0", test_version2: "6.0.2.38") ||
   version_in_range(version: vers, test_version: "6.1", test_version2: "6.1.0.28")) {
  report = report_fixed_ver( installed_version:vers, fixed_version:'See advisory' );
  security_message(port:0, data:report);
}

0.003 Low

EPSS

Percentile

65.6%