[NEWS] SurgeFTP Administrative Account Can be Easily Brute Forced
From: support@securiteam.comDate: 08/11/01
- Previous message: support@securiteam.com: "[TOOL] HTTP Filter - HTTP Tunneling and Filtering Tool"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: support@securiteam.com To: list@securiteam.com Subject: [NEWS] SurgeFTP Administrative Account Can be Easily Brute Forced Message-Id: <20010811111943.A610E138BF@mail.der-keiler.de> Date: Sat, 11 Aug 2001 13:19:43 +0200 (CEST)
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
SurgeFTP Administrative Account Can be Easily Brute Forced
------------------------------------------------------------------------
SUMMARY
<http://www.netwinsite.com/surgeftp/> SurgeFTP uses the same weak hashing
algorithm as the <http://www.securiteam.com/securitynews/5HP0L0U4UM.html>
NWAuth module to store the administrative password, but adds a fixed
'salt' value (which is "qr") making it even weaker against a password
cracking brute force attack against the administrative account.
DETAILS
Vulnerable systems:
SurgeFTP version 2.0f and prior
When the SurgeFTP administrator sets his account name and password
(SurgeFTP does not work without it), this information is written to the
file 'admin.dat'. An entry that resembles the following is created:
admin:qrQ\Wd
This file is used to authenticate an administrator basic HTTP
authentication via the web server that resides on TCP port 7021 (this is
the default port used).
From an attacker standpoint, we can crack the SurgeFTP computer by using
weaknesses in the way the administrative password is stored (it is better
if you think of it as cracking the hashes using their associated
passwords, then cracking the passwords themselves) :
a) The password hash always begins with "qr" (the 'salting' value) this
introduces a weakness, since this value is used in the hashing algorithm
and makes certain hashes impossible since they do not match any password
b) Every character of the password goes through some calculations (using
the salting variable) and goes through a modulo 40. Meaning the possible
hashes are at maximum 40 x 40 x 40 for any three character passwords (And
even a lot less because of reason a).
c) Since certain hashes have more passwords associated with them, we can
minimize the password list even further.
Impact:
Since the SurgeFTP administrator account has read/write/delete privileges
to all resources, the impact of brute forcing the account is quite high.
The password can easily be guessed for passwords of up to 5 to 6
characters. Moreover, when installing SurgeFTP, there is no possible way
of enabling a better hashing algorithm for the admin account, nor can web
administration be disabled when running the server (you should block TCP
port 7021 on the firewall). The mitigating factors are that 1) an attacker
has to know the login name of the administrator account (we can only
assume this will be set to "admin" but it can be anything) and 2)
passwords of more than 6 characters start to take time to crack unless we
limit ourselves to certain password compositions.
Solution:
Block TCP port 7021 on the firewall.
ADDITIONAL INFORMATION
The information has been provided by <mailto:byterage@YAHOO.COM>
ByteRage.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: support@securiteam.com: "[TOOL] HTTP Filter - HTTP Tunneling and Filtering Tool"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|