Windows Administrator NULL FTP password vulnerability on remote server is incorrectly configured
# OpenVAS Vulnerability Test
# $Id: ftp_administrator.nasl 6040 2017-04-27 09:02:38Z teissa $
# Description: Windows Administrator NULL FTP password
#
# Authors:
# Keith Young <[email protected]>
#
# Copyright:
# Copyright (C) 2002 Keith Young
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
tag_solution = "Change the Administrator password on this host.";
tag_summary = "The remote server is incorrectly configured
with a NULL password for the user 'Administrator' and has
FTP enabled.";
if(description)
{
script_id(11160);
script_version("$Revision: 6040 $");
script_tag(name:"last_modification", value:"$Date: 2017-04-27 11:02:38 +0200 (Thu, 27 Apr 2017) $");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_tag(name:"cvss_base", value:"9.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:P/A:P");
script_name("Windows Administrator NULL FTP password");
script_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"remote_vul");
script_family("FTP");
script_copyright("This script is Copyright (C) 2002 Keith Young");
script_dependencies("find_service.nasl", "DDI_FTP_Any_User_Login.nasl");
script_require_ports("Services/ftp", 21);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
exit(0);
}
#
# The script code starts here :
#
include('ftp_func.inc');
port = get_kb_item("Services/ftp");
if(!port)port = 21;
if(get_port_state(port))
{
if(get_kb_item("ftp/" + port + "/AnyUser"))exit(0);
soc = open_sock_tcp(port);
if(soc)
{
if(ftp_authenticate(socket:soc, user:"Administrator", pass:""))security_message(port);
}
}
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo