#
# This script was written by Keith Young <[email protected]>
#
# See the Nessus Scripts License for details
#
# Changes by Tenable:
# - Revised plugin title (2/04/2009)
include("compat.inc");
if(description)
{
script_id(11160);
script_version ("$Revision: 1.13 $");
script_cvs_date("$Date: 2013/01/25 01:19:07 $");
script_name(english:"Windows FTP Server NULL Administrator Password");
script_set_attribute(attribute:"synopsis", value:
"Arbitrary files may be read, written or deleted on the remote host." );
script_set_attribute(attribute:"description", value:
"The remote server is incorrectly configured with a NULL password for the
user 'Administrator' and has FTP enabled." );
script_set_attribute(attribute:"solution", value:
"Change the Administrator password on this host." );
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_attribute(attribute:"plugin_publication_date", value: "2002/11/21");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
script_summary(english:"Checks for a NULL Windows Administrator FTP password");
script_category(ACT_GATHER_INFO);
script_family(english:"FTP");
script_copyright(english:"This script is Copyright (C) 2002-2013 Keith Young");
script_dependencie("ftpserver_detect_type_nd_version.nasl", "DDI_FTP_Any_User_Login.nasl");
script_require_ports("Services/ftp", 21);
exit(0);
}
#
# The script code starts here :
#
include("global_settings.inc");
include('ftp_func.inc');
port = get_ftp_port(default: 21);
if (get_kb_item("ftp/"+port+"/AnyUser"))
exit(0, "The FTP server on port "+port+" allows random usernames.");
if (supplied_logins_only) exit(0, "Nessus is currently configured to not log in with user accounts not specified in the scan policy.");
soc = open_sock_tcp(port);
if (! soc) exit(1, "Cannot to TCP port "+port+".");
if (ftp_authenticate(socket:soc, user:"Administrator", pass:"")) security_hole(port);
else exit(0, "The FTP server on port "+port+" 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