| Source | Link |
|---|---|
| wftpserver | www.wftpserver.com/serverhistory.htm |
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if(description)
{
script_id(48215);
script_version("1.11");
script_cvs_date("Date: 2019/01/02 16:37:55");
script_bugtraq_id(41987);
script_name(english:"Wing FTP Server < 3.6.1 Multiple Flaws");
script_summary(english:"Checks version in Wing FTP Server HTTP banner");
script_set_attribute(attribute:"synopsis", value:
"The remote host has an application that is affected by multiple flaws.");
script_set_attribute(attribute:"description", value:
"According to its banner, the remote host is running a version of Wing
FTP Server earlier than 3.6.1. Such versions are reportedly affected
by multiple issues :
- An unspecified issue in the SSH implementation could
allow an authenticated attacker to trigger a denial of
service condition.
- An unspecified issue in the web client could allow an
authenticated user to read files outside of his or her
home directory.");
script_set_attribute(attribute:"see_also", value:"https://www.wftpserver.com/serverhistory.htm");
script_set_attribute(attribute:"solution", value:"Upgrade to Wing FTP Server 3.6.1 or later.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2010/07/26");
script_set_attribute(attribute:"patch_publication_date", value:"2010/07/26");
script_set_attribute(attribute:"plugin_publication_date", value:"2010/08/02");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("http_version.nasl", "ftpserver_detect_type_nd_version.nasl");
script_require_ports("Services/www", 5466, "Services/ftp", 21);
exit(0);
}
include("global_settings.inc");
include("misc_func.inc");
include("ftp_func.inc");
include("http.inc");
version = '';
source = '';
service = '';
ports = add_port_in_list(list:get_kb_list("Services/www"), port:5466);
foreach port (ports)
{
banner = get_http_banner(port:port);
if (banner && "Server:" >< banner)
{
server = chomp(egrep(string: banner, pattern: "^Server:"));
if ("Wing FTP" >< server)
{
source = server;
service = "HTTP";
matches = eregmatch(pattern:"Wing FTP Server/([0-9.]+)", string:server);
if (matches)
{
version = matches[1];
break;
}
}
}
}
if (!version)
{
port = get_ftp_port(default:21);
banner = get_ftp_banner(port:port);
if (!banner) exit(1, "The FTP server on port "+port+" does not return a banner.");
if ("Wing FTP Server" >!< banner) exit(0, "The banner from the FTP server on port "+port+" is not from Wing FTP Server.");
source = banner;
service = "FTP";
matches = eregmatch(pattern:" Wing FTP Server ([0-9.]+)", string:banner);
if (matches) version = matches[1];
}
if(!source)
exit (0, "Wing FTP Server is not running on the remote host.");
if(!version)
exit(1, "It was not possible to extract Wing FTP Server version listening on the remote host.");
if (ver_compare(ver:version, fix:'3.6.1',strict:FALSE) == -1)
{
if (report_verbosity > 0)
{
report = '\n Installed version : ' + version +
'\n Fixed version : 3.6.1' +
'\n Service : ' + service +
'\n Version source : ' + source;
security_warning(port:port, extra:report);
}
else security_warning(port:port);
exit(0);
}
else exit(0, "Wing FTP Server version "+ version + " is running on port "+ port + " and hence is not affected.");
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