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
Low
EPSS
Percentile
90.3%
Wing FTP Server is prone to an HTML-injection vulnerability
because it fails to sufficiently sanitize user-supplied data.
# 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
CPE = "cpe:/a:wftpserver:wing_ftp_server";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.100665");
script_version("2023-12-20T05:05:58+0000");
script_tag(name:"last_modification", value:"2023-12-20 05:05:58 +0000 (Wed, 20 Dec 2023)");
script_tag(name:"creation_date", value:"2010-06-03 13:39:07 +0200 (Thu, 03 Jun 2010)");
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-2010-2428");
script_name("Wing FTP Server <= 3.5.0 'admin_loginok.html' HTML Injection Vulnerability");
script_category(ACT_GATHER_INFO);
script_family("Web application abuses");
script_copyright("Copyright (C) 2010 Greenbone AG");
script_dependencies("gb_wing_ftp_server_consolidation.nasl");
script_mandatory_keys("wing_ftp/server/detected");
script_xref(name:"URL", value:"https://web.archive.org/web/20210121201121/https://www.securityfocus.com/bid/40510/");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/511612");
script_tag(name:"summary", value:"Wing FTP Server is prone to an HTML-injection vulnerability
because it fails to sufficiently sanitize user-supplied data.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"impact", value:"Attacker-supplied HTML or JavaScript code could run in the
context of the affected site, potentially allowing the attacker to steal cookie-based
authentication credentials and to control how the site is rendered to the user, other attacks are
also possible.");
script_tag(name:"affected", value:"Wing FTP Server version 3.5.0 is known to be vulnerable. Other
versions may also be affected.");
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.");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"WillNotFix");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if( ! port = get_app_port( cpe:CPE ) )
exit( 0 );
if( ! infos = get_app_version_and_location( cpe:CPE, port:port, exit_no_version:TRUE ) )
exit( 0 );
version = infos["version"];
location = infos["location"];
if( version_is_less_equal( version:version, test_version:"3.5.0" ) ) {
report = report_fixed_ver( installed_version:version, fixed_version:"None", install_path:location );
security_message( port:port, data:report );
exit( 0 );
}
exit( 0 );