Lucene search

K
openvasCopyright (C) 2009 SecPodOPENVAS:900301
HistoryFeb 06, 2009 - 12:00 a.m.

Sun Java System Application Server Information Disclosure vulnerability

2009-02-0600:00:00
Copyright (C) 2009 SecPod
plugins.openvas.org
10

0.005 Low

EPSS

Percentile

73.6%

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

###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_sun_java_app_serv_info_disc_vuln.nasl 5122 2017-01-27 12:16:00Z teissa $
#
# Sun Java System Application Server Information Disclosure vulnerability
#
# Authors:
# Sharath S <[email protected]>
#
# 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_solution = "Apply the security updates.
  http://sunsolve.sun.com/search/document.do?assetkey=1-66-245446-1

  *****
  NOTE: Please ignore this warning, if above mentioned patch is applied.
  *****";

tag_impact = "Successful exploitation could allow remote unprivileged user to read Web
  Application configuration files in 'WEB-INF' and 'META-INF' directories.
  Impact Level: Application";
tag_affected = "Java System Application Server version 8.1 and 8.2 on Linux and Windows.";
tag_insight = "A security vulnerability in Java Application server may expose sensitive
  directory contents i.e. 'WEB-INF' and 'META-INF' via malformed requests.";
tag_summary = "The host is running Java Application Server and is prone to
  information disclosure vulnerability.";

if(description)
{
  script_id(900301);
  script_version("$Revision: 5122 $");
  script_tag(name:"last_modification", value:"$Date: 2017-01-27 13:16:00 +0100 (Fri, 27 Jan 2017) $");
  script_tag(name:"creation_date", value:"2009-02-06 06:53:35 +0100 (Fri, 06 Feb 2009)");
  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_cve_id("CVE-2009-0278");
  script_bugtraq_id(33397);
  script_name("Sun Java System Application Server Information Disclosure vulnerability");

  script_xref(name : "URL" , value : "http://secunia.com/advisories/33725");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/48161");
  script_xref(name : "URL" , value : "http://sunsolve.sun.com/search/document.do?assetkey=1-21-119166-35-1");

  script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_copyright("Copyright (C) 2009 SecPod");
  script_family("Web application abuses");
  script_dependencies("secpod_sun_java_app_serv_detect.nasl");
  script_require_keys("Sun/Java/AppServer/Ver");
  script_require_ports("Services/www", 8080);
  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");

port = get_http_port(default:8080);
if(!port){
  exit(0);
}

appservVer = get_kb_item("Sun/Java/AppServer/Ver");
if(appservVer)
{
  # Check for Java Application Server version 8.1 and 8.2
  if(appservVer =~ "(8\.1|8\.2)"){
    security_message(port);
  }
}

0.005 Low

EPSS

Percentile

73.6%