The first thing I do when i setup a server is diable anonymous ftp. However, this time I disabled and anonymous ftp was still available. So, I disabled ftp all together. Well, I could still telnet to pureftp. So, I had to block ports 20:21 in iptables in order to patch this because some douche in Amsterdam uploaded new .htaccess files to 3 of my sites using anonymous ftp. This was a brand new box with the most current stable version of cpanel.
Please get this fixed, cpanel, because I lost some of my long time faith in cPanel.
I recommend anyone to use this iptables rule until this issue is repaired:
Please get this fixed, cpanel, because I lost some of my long time faith in cPanel.
I recommend anyone to use this iptables rule until this issue is repaired:
iptables -A INPUT -p tcp --dport 20:22 -j DROP;
iptables -A INPUT -s YOUR IP ADDRESS HERE -p tcp –-dport 20:22 -j ACCEPT;