We were sorry to hear that the folks at Perl.com were hacked into last weekend and that their website visitors were redirected to a porn site. The method of attack highlights the risks associated with displaying third party content on your websites. This is something which all website owners should take a moment to consider.
After some analysis, it turned out that none of the servers involved were actually compromised. The hacker simply registered a domain (grepblogs.net) which had recently expired and set up a new server to replace the web services it was providing, including an Openads ad server.
Perl.com had a Javascript ad tag from the grepblogs.net domain name. The hacker proceeded to change the function of the Openads Javascript tag and redirect visitors to a different website.
I am confident that the people running Perl.com have taken every security precaution, their site is probably one of the more secure sites on the net. This type of hack demonstrates that while there was no compromise of the Perl.com servers, a compromise of a related server (or a domain takeover!) which serves content on the Perl.com site can be just as serious.
Note that the fact that this happened does not mean that either Perl.com OR Openads had any security vulnerability. It happened because sites now have lots of content being served by many different domains. For example, the content on the Techcrunch website is being delivered by over TWENTY domain names! If one of these domains gets hacked into, Techcrunch is at risk.
Is there a security standard for this type of web content delivery? There needs to be. Openads gets served on over 30,000 publishers, across 100,000+ domains. Many of those domains come from third parties.
This is not a problem specific to ad servers. Widget makers, analytics providers, and many other applications which use third party tags or domains are equally vulnerable. We all need to get together and discuss how problems like what happened to Perl.com can be eliminated, or at least minimised.
I will discuss with some other people who have experience in the field and send a follow up blog to continue this discussion.

Tags: 

