Lucene search

K
openvasCopyright (C) 2010 Greenbone Networks GmbHOPENVAS:800162
HistoryFeb 08, 2010 - 12:00 a.m.

Sun Java System Application Server Cross Site Tracing Vulnerability

2010-02-0800:00:00
Copyright (C) 2010 Greenbone Networks GmbH
plugins.openvas.org
34

EPSS

0.005

Percentile

76.2%

This host has Sun Java System Application Server running which
is prone to Cross Site Tracing vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_sun_java_app_serv_xst_vuln.nasl 5373 2017-02-20 16:27:48Z teissa $
#
# Sun Java System Application Server Cross Site Tracing Vulnerability
#
# Authors:
# Veerendra G <[email protected]>
#
# Copyright:
# Copyright (c) 2010 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 = "No solution or patch was made available for at least one year
since disclosure of this vulnerability. Likely none will be provided anymore.
General solution options are to upgrade to a newer release, disable respective
features, remove the product or replace the product by another one.

A Workaround is final resolution to this issue, for details refer
http://sunsolve.sun.com/search/document.do?assetkey=1-66-200942-1

*****
NOTE : Ignore this warning, if above workaround has been applied.
*****";

tag_impact = "Successful exploitation lets the attackers to to get sensitive
information, such as cookies or authentication data, contained in the HTTP
headers.

Impact Level: Application";

tag_affected = "Sun Java System Application Server Standard Edition 7 and
later updates Sun Java System Application Server Standard Edition 7 2004Q2 and
later updates";

tag_insight = "An error exists while processing HTTP TRACE method and returns
contents of clients HTTP requests in the entity-body of the TRACE response. An
attacker can use this behavior to access sensitive information, such as cookies
or authentication data, contained in the HTTP headers of the request.";

tag_summary = "This host has Sun Java System Application Server running which
is prone to Cross Site Tracing vulnerability.";

if(description)
{
  script_id(800162);
  script_version("$Revision: 5373 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-20 17:27:48 +0100 (Mon, 20 Feb 2017) $");
  script_tag(name:"creation_date", value:"2010-02-08 10:53:20 +0100 (Mon, 08 Feb 2010)");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:N/A:N");
  script_cve_id("CVE-2010-0386");
  script_name("Sun Java System Application Server Cross Site Tracing Vulnerability");

  script_xref(name : "URL" , value : "http://www.kb.cert.org/vuls/id/867593");
  script_xref(name : "URL" , value : "http://sunsolve.sun.com/search/document.do?assetkey=1-66-200942-1");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2010 Greenbone Networks GmbH");
  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", 80, 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);
  script_tag(name:"solution_type", value:"WillNotFix");
  exit(0);
}


include("http_func.inc");

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

## Get Sun Java Application Server version from KB
appservVer = get_kb_item("Sun/Java/AppServer/Ver");
if(appservVer =~ "^7" )
{
  ## Check for Sun Java Application Server version 7.0 and 7 2004Q2
  if(appservVer =~ "7.0|7 2004Q2"){
    security_message(port);
  }
}