by Gidan » Sun Sep 24, 2006 7:42 am
Now that cPanel has made a public statement of sorts.
One of our hosts had a large chunk of their boxes rooted all at once. We are not talking 10 or 20, we are talking 3 0's on the number of servers for this customer that were rooted. It was done through a backdoor in cPanel that effected any and all versions of cPanel. This vulnerability was so bad that there was no way to secure your server against it. The only thing you needed to root the server was ftp and http access to the server, meaning any person paying $5 a month for a website could have rooted the server at will.
cPanel says they have fixed it, and they do seem to have closed it for now (I spent a good 30 mins trying to crack it and it does appear to be a good fix). On Monday, cPanel should be releasing a full statement, they just want to wait until they are reasonably sure all servers running cPanel have run their auto update before doing so.
I have seen and played with the script that was used, all I can say is cPanel and many of the hosts out there are VERY lucky that it was written by an idiot who wasn't concerned with being found out. Had they taken 10 seconds to clean up a bit in the script, no one would have had any clue.
What made this whole thing worse was the true result of this attack. The guy went into the servers he rooted and changed mod_layout in such a way that every single site on every single server had iframs that loaded sites that had viruses that exploited a security hole in IE. Thousands of users found that they had been infected immediatly after having gone to these websites. Those who used firefox were not effected.
For to win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the acme of skill.