CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:N/I:P/A:N
AI Score
Confidence
High
EPSS
Percentile
59.8%
Java Web Console is prone to Multiple Cross-Site Scripting Vulnerabilities.
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.800826");
script_version("2023-07-27T05:05:08+0000");
script_tag(name:"last_modification", value:"2023-07-27 05:05:08 +0000 (Thu, 27 Jul 2023)");
script_tag(name:"creation_date", value:"2009-07-09 10:58:23 +0200 (Thu, 09 Jul 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-2283");
script_name("Sun Java Web Console Multiple XSS Vulnerabilities");
script_xref(name:"URL", value:"http://secunia.com/advisories/35597");
script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2009/1712");
script_xref(name:"URL", value:"http://sunsolve.sun.com/search/document.do?assetkey=1-21-136987-03-1");
script_xref(name:"URL", value:"http://sunsolve.sun.com/search/document.do?assetkey=1-66-262428-1");
script_tag(name:"qod_type", value:"remote_banner");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_sun_java_web_console_detect.nasl");
script_mandatory_keys("Sun/JavaWebConsole/Ver");
script_tag(name:"impact", value:"Successful exploitation will let the remote attacker to execute arbitrary HTML
and script code in a user's browser session in the context of an affected site.");
script_tag(name:"affected", value:"Sun Java Web Console version 3.0.2 to 3.0.5.");
script_tag(name:"insight", value:"Errors in help jsp script that is not properly sanitising input data before
being returned to the user, which can be exploited to cause web script or HTML code injection.");
script_tag(name:"solution", value:"Apply the update from the referenced advisory.");
script_tag(name:"summary", value:"Java Web Console is prone to Multiple Cross-Site Scripting Vulnerabilities.");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("version_func.inc");
jwcPort = 6789;
jwcVer = get_kb_item("Sun/JavaWebConsole/Ver");
if(!jwcVer)
exit(0);
if(version_in_range(version:jwcVer, test_version:"3.0.2", test_version2:"3.0.5")) {
report = report_fixed_ver(installed_version:jwcVer, fixed_version:"See references");
security_message(port:jwcPort, data:report);
exit(0);
}
exit(99);