iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-05-2009, 06:37 PM
netman4ttm's Avatar
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Virginia
Posts: 331
netman4ttm RepRank 1
Default FTP Server with TLS

I just recently set up a ftp site on FreeBSD 7.0 using pureftp.
The site is setup to use ftpes; ftp over explict TLS/SSL.

The problem is that most of our clients can use filezilla which supports the transport security layer BUT we have on e client that uses an automated system that only recognizes ftp.

So we now have a system that will use both ftp and ftpes.

We are pushing them to get into the 21st century (not likely) so the issue facing us is does their use of ftp put the entire site at risk. They are the only client using ftp and privilege separation is strictly enforced.
__________________
"The future is here. It's just not evenly distributed.
Reply With Quote
  #2 (permalink)  
Old 01-05-2009, 07:00 PM
wige's Avatar
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,648
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: FTP Server with TLS

I guess it really depends what is being FTP'd, and in what ways that person's credentials can be abused. In most schemes, SSL is only used to encrypt the username and password, not the data being transmitted. This is typically sufficient, as the important part is to secure the login credentials and the data does not need to be secured. Other schemes will encrypt the payload as well as the authentication.

Assuming the data itself is not sensitive, there are a few considerations I can think of...

1. Account Compromise. The user's upload account could be compromised. From your post, I assume the user is using FTP to upload some type of file to you. Depending on the server settings, an attacker might be able to gain read/write permission to that folder. Mitigation for this (assuming the user does not need to download anything) would be to make sure that the FTP user has write only access to the specific dedicated folder, and that the folder is set so that no files can be executed in that folder, by anyone, ever. You may also want to turn off read capabilities except for whatever process uses the uploaded file. This can help protect against certain directory transversal attacks (the user uploads a script with the compromised login information, then passes a specially crafted URL to an HTTP server on the same computer that accesses the file, triggering an exploit).

2. Abuse of services. Typically, all FTP accounts correspond to a recognized user of the system. Even if that username has been locked down, it is possible that some services on the system will still accept those credentials when they shouldn't, and it could open an attack vector. (for example, are you sure that those credentials won't work for CPANEL? What about the /~username/ path in Apache? etc.) For that reason, I would suggest checking with the FTP server maker about creating an Alias account, which lets you create a username and password that can be set as aliases for another real user. That way if the logon credentials do fall into the wrong hands, they won't be recognized by the server's user authentication system as a valid account.
__________________
The best way to learn anything, is to question everything.
Reply With Quote
  #3 (permalink)  
Old 01-05-2009, 07:27 PM
netman4ttm's Avatar
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Virginia
Posts: 331
netman4ttm RepRank 1
Default Re: FTP Server with TLS

Unfortunately the data is sensitive and while it is encrypted I am not feeling comfortable with ftp.
The server itself is hardened with only ports 21 and 53 open. I thought about using sftp but the idea of opening traffic on port 22 seemed to be asking for more trouble.
The server does use DNS to check the source of the uploads/downloads; they do both so permissions need to allow for read/write.

We are changing their passwords frequently which does not make for a happy client.

I guess what has me up in arms is that TLS is not that new and clearly the way to go with a protocol such as ftp that you would think large companies would adopt it quickly.
__________________
"The future is here. It's just not evenly distributed.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is MS SQL server the most secure SQL server? kgun Database Discussion Forum 8 12-18-2008 09:41 PM
Image hosting - Same server or different server? AjiNIMC Search Engine Optimization Forum 9 05-18-2007 05:45 AM
Power up your Server; world's first vegetable powered server TrafficProducer The Castle Breakroom (General: Any Topic) 3 12-21-2005 03:58 PM
Looking to Share Dedicated Server - MS SQL Server 2000 supernatural_247 IT Discussion Forum 3 04-22-2005 02:03 PM
Windows Server - E-Mail Server gofer01 IT Discussion Forum 0 01-08-2004 10:36 AM


All times are GMT -4. The time now is 10:02 AM.



Search Engine Optimization by vBSEO 3.3.0