Lucene search
K

Sun Java System Web Proxy Server Vulnerabilities (Windows)

🗓️ 19 Jun 2009 00:00:00Reported by Copyright (C) 2009 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 22 Views

Sun Java System Web Proxy Server XSS Vulnerability (Windows

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2009-1934
5 Jun 200915:25
cve
Cvelist
CVE-2009-1934
5 Jun 200915:25
cvelist
EUVD
EUVD-2009-1929
7 Oct 202500:30
euvd
NVD
CVE-2009-1934
5 Jun 200916:00
nvd
OpenVAS
Sun Java System Web Proxy Server Vulnerabilities - Windows
19 Jun 200900:00
openvas
OpenVAS
Sun Java System Web Proxy Server 6.1 < 6.1 SP11 XSS Vulnerability
19 Jun 200900:00
openvas
OpenVAS
Sun Java System Web Proxy Server Vulnerabilities (Windows)
19 Jun 200900:00
openvas
Prion
Cross site scripting
5 Jun 200916:00
prion
Tenable Nessus
Solaris 10 (sparc) : 116648-25
12 Mar 201800:00
nessus
Tenable Nessus
Solaris 10 (sparc) : 116648-25 (deprecated)
6 Nov 200600:00
nessus
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_sun_java_sys_web_serv_xss_vuln_lin.nasl 5158 2017-02-01 14:53:04Z mime $
#
# Sun Java System Web Server XSS Vulnerability (Linux)
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (c) 2009 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_impact = "Successful exploitation will allow attackers to execute arbitrary code,
  gain sensitive information by conducting XSS attacks in the context of a
  affected site.
  Impact Level: System/Application";
tag_affected = "Sun Java System Web Server versions 6.1 and before 6.1 SP11 on Linux.";
tag_insight = "The Flaw is due to error in 'Reverse Proxy Plug-in' which is not properly
  sanitized the input data before being returned to the user. This can be
  exploited to inject arbitrary web script or HTML via the query string in
  situations that result in a 502 Gateway error.";
tag_solution = "Update to Web Server version 6.1 SP11
  http://www.sun.com/download/index.jsp
  http://sunsolve.sun.com/search/document.do?assetkey=1-66-259588-1";
tag_summary = "This host has Sun Java Web Server running on Linux, which is prone
  to Cross-Site Scripting vulnerability.";

if(description)
{
  script_id(800812);
  script_version("$Revision: 5158 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-01 15:53:04 +0100 (Wed, 01 Feb 2017) $");
  script_tag(name:"creation_date", value:"2009-06-19 09:45:44 +0200 (Fri, 19 Jun 2009)");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_cve_id("CVE-2009-1934");
  script_bugtraq_id(35204);
  script_name("Sun Java System Web Proxy Server Vulnerabilities (Windows)");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/35338");
  script_xref(name : "URL" , value : "http://sunsolve.sun.com/search/document.do?assetkey=1-21-116648-23-1");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("gb_sun_java_sys_web_serv_detect.nasl");
  script_require_ports("Services/www", 80, 8888);
  script_mandatory_keys("login/SSH/success");
  script_dependencies("gather-package-list.nasl");
  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);
  script_tag(name:"qod_type", value:"executable_version");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


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

if(get_kb_item("Sun/JavaSysWebServ/Ver") >!< "6.1"){
  exit(0);
}

sock = ssh_login_or_reuse_connection();
if(!sock){
  exit(0);
}

paths = find_bin(prog_name:"webservd", sock:sock);
foreach jswsBin (paths)
{
  if( chomp(jswsBin) == "" ) continue;
  jswsVer = get_bin_version(full_prog_name:chomp(jswsBin), sock:sock,
                            version_argv:"-v",
                            ver_pattern:"Sun (ONE |Java System )Web Server " +
                                        "([0-9.]+)(SP[0-9]+)?([^0-9.]|$)");
  if(jswsVer[2] != NULL)
  {
    if(jswsVer[3] != NULL)
       jswsVer = jswsVer[2] + "." + jswsVer[3];
    else
      jswsVer = jswsVer[2];

    # Grep for versions 6.1 < 6.1SP11
    if(version_in_range(version:jswsVer, test_version:"6.1",
                                         test_version2:"6.1.SP10"))
    {
      jswsPort = get_kb_item("Sun/JavaSysWebServ/Port");
      security_message(jswsPort);
      ssh_close_connection();
      exit(0);
    }
  }
}
ssh_close_connection();

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