CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:N/I:N/A:C
AI Score
Confidence
High
EPSS
Percentile
77.7%
Java Web Proxy Server is prone to a denial of service (DoS) vulnerability.
# 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
CPE = "cpe:/a:sun:java_system_web_proxy_server";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.800866");
script_version("2024-02-15T05:05:39+0000");
script_cve_id("CVE-2009-2597");
script_tag(name:"cvss_base", value:"7.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:C");
script_tag(name:"last_modification", value:"2024-02-15 05:05:39 +0000 (Thu, 15 Feb 2024)");
script_tag(name:"creation_date", value:"2009-08-12 19:54:51 +0200 (Wed, 12 Aug 2009)");
script_name("Sun Java System Web Proxy Server Denial Of Service Vulnerability - Linux");
script_tag(name:"summary", value:"Java Web Proxy Server is prone to a denial of service (DoS) vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The flaw is due to an unspecified error,
which can be exploited to cause a crash via a 'GET' request if the Sun Java
System Web Proxy Server is the used deployment container for the agent.");
script_tag(name:"impact", value:"Successful exploitation will lets the
attackers to cause a Denial of Service. in the context of an affected
application.");
script_tag(name:"affected", value:"Sun Java System Access Manager Policy Agent version 2.2
Sun Java System Web Proxy Server version 4.0.x on Linux.");
script_tag(name:"solution", value:"Apply patch 141248-01 or later.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"executable_version_unreliable");
script_xref(name:"URL", value:"http://secunia.com/advisories/35979/");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/35788");
script_xref(name:"URL", value:"http://sunsolve.sun.com/search/document.do?assetkey=1-66-258508-1");
script_xref(name:"URL", value:"http://sunsolve.sun.com/search/document.do?assetkey=1-21-141248-01-1");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Denial of Service");
script_dependencies("gb_sun_java_sys_web_proxy_server_detect.nasl", "gather-package-list.nasl", "os_detection.nasl");
script_mandatory_keys("Sun/JavaWebProxyServ/Installed", "Host/runs_unixoide");
exit(0);
}
include("host_details.inc");
include("ssh_func.inc");
include("version_func.inc");
sun_port = get_app_port(cpe:CPE);
if(!sun_port)
exit(0);
version = get_app_version(cpe:CPE, port:sun_port);
if(!version)
exit(0);
if("4.0" >!< version)
exit(0);
sun_sock = ssh_login_or_reuse_connection();
if(!sun_sock)
exit(0);
paths = ssh_find_file(file_name:"/proxy4/bin/config_linux$", useregex:TRUE, sock:sun_sock);
foreach agentBin (paths)
{
agentBin = chomp(agentBin);
if(!agentBin)
continue;
agentVer = ssh_get_bin_version(full_prog_name:"cat", version_argv:agentBin, ver_pattern:"proxy4agent-([0-9.]+)", sock:sun_sock);
if(!isnull(agentVer[1]))
{
if(version_is_equal(version:agentVer[1], test_version:"2.2"))
{
report = report_fixed_ver(installed_version: agentVer[1], fixed_version: "Apply Patch");
security_message(port:sun_port, data: report);
exit(0);
}
}
}