ProFTPd 1.3.4 released! (warning)

Here are a few fixes mentioned in the mailing list:
Here's a list of workarounds (not solutions) which can help to mitigate
the issue:

1. Use the following in your proftpd.conf:

<Global>
RootRevoke on
</Global>

This causes proftpd to drop all root privileges after the client has
authenticated. The "Roaring Beast" exploit requires root privs for
attaching to a root-running process on the FreeBSD box; by using
"RootRevoke on", you prevent the exploit from attaching to that root-owned
process. (Root privs are kept in order to satisfy the RFC-mandated
requirement to use L-1 as the source port for an active data transfer,
where L is the control port. Using "RootRevoke on" will cause active data
transfers not to work, if your proftpd uses a control port below 1025.)

2. Try to prevent the necessary exploit directories from being created via
FTP, by using <Directory> and <Limit> sections, i.e.:

# For non-<Anonymous> chrooted logins, use this.
#
# NOTE: it ASSUMES that you are using "DefaultRoot ~" to chroot users to
# their respective home directories. If you use a different chroot
# directory, replace '~' with that chroot directory in the configs
# below.
<Directory ~/etc>
<Limit ALL>
DenyAll
</Limit>
</Directory>

<Directory ~/lib>
<Limit ALL>
DenyAll
</Limit>
</Directory>

# And for <Anonymous> logins where uploads are allowed, use:
<Anonymous ...>
...
<Directory etc>
<Limit ALL>
DenyAll
</Limit>
</Directory>

<Directory lib>
<Limit ALL>
DenyAll
</Limit>
</Directory>
</Anonymous>

3. I'll be working on a module which takes a configurable list of files;
the module will periodically check for the existence of these files (e.g.
with the chrooted session) and if present, delete them.

For the benefit of others with this issue, please report back to the list
if you use one (or both) of the above configurations, and how well it
appears to be working. I will keep the list apprised of progress on the
file-deleting module.

TJ
 
I am having an issue with the latest version of ProFTPD.
Its timing out every few minutes even when I have set it to time out in 15 minutes in config file.
It happens only when FTPS is used instead if plain FTP.
No matter whether if you set FTP client to ping/PWD/SYST every 30 seconds or disable pinging at all.

It happens like this:
once you leave it there for a couple of minutes and then try to upload/download/refresh the remote directory it returns Operation not permitted and you have to reconnect in order to perform any operations.

Anyone faced the same issue?
 
Hello,

For anyone having issues with the symbolic links not showing up correctly, I believe the issue is with the MLSD command, which you can prevent the ftp clients from using, with this /etc/proftpd.conf code:
Code:
  <IfModule mod_facts.c>
    FactsAdvertise off
  </IfModule>
I've not personally tested it, but it's a reported workaround to the issue.

John
 
Hello,

For anyone having issues with the symbolic links not showing up correctly, I believe the issue is with the MLSD command, which you can prevent the ftp clients from using, with this /etc/proftpd.conf code:
Code:
  <IfModule mod_facts.c>
    FactsAdvertise off
  </IfModule>
I've not personally tested it, but it's a reported workaround to the issue.

John

Personally tested: Workaround works on CentOS 5.0 64-bit
 
Back
Top