This article is more than 1 year old

Mass WordPress hijack poisons Google Image well

Mystery doorway planted in 4000+ sites

Hackers are abusing thousands of independent WordPress sites to litter Google Image search results with code that redirects users to servers that attempt to infect them with malware.

According to a report posted Friday, Russian researcher Denis Sinegubko identified 4,358 WordPress blogs that combined popular images from other sites with so-called doorway pages that redirected visitors to a series of malicious sites. The site at the end of the line displayed misleading graphics designed to trick users into installing fake security software by convincing them their machines have already been infected by malware and urgently need to be cleaned.

“The doorway pages rank quite well for some keywords both in Google web search and Google Images search (especially when you are searching for exact phrases),” Sinegubko wrote. “However the malicious redirects occur only when you click on Google Images search results, which proves that Google Images poisoning is the main goal of this black-hat SEO campaign.”

As of Friday, Google was flagging less than 5 percent of the compromised WordPress sites as harmful to its users, Sinegubko said. On Monday, The Register asked Google representatives if additional websites have been added to its list. This article will be updated if they respond.

It remains a mystery how the sites are being compromised. Many are running up-to-date versions of WordPress. What's more, the compromise affects sites on a variety of webhosts, and not all WordPress sites on affected hosts contain the toxic links. All of that would seem to rule out server-wide attacks, compromises based on stolen site credentials, or an exploit of a compromise in WordPress itself.

Sinegubko speculated that the compromise is the result of backdoor code previously installed on the affected websites. One possible way a backdoor could have gotten there is a recently discovered defect in a popular WordPress extension known as TimThumb that allows attackers to upload and execute malicious code on websites that use it.

Sinegubko advised webmasters of compromised sites to look for rogue rules in the .htaccess files in the site root and above the site root directory. So far, he hasn't found an operator of one of the infected WordPress sites who will cooperate in his investigation. Those with information may contact him directly. ®

More about

TIP US OFF

Send us news


Other stories you might like