WordPress 2.3.3 Hidden Links Injection Exploit and How To Not Let It Happen To You

Posted by

A friend yesterday running the latest version of wordpress had some hidden links injected in his blog. I know he is very technical and knows what he is doing so started making me a little paranoid. I started search for WordPress 2.3.3 hidden links injection and as you can see there is a ton of people claiming to be running the latest and greatest WordPress version yet getting hidden links inserted in there posts. People are also inserting iframes. Its actually pretty effective if you think about it… How would you notice hidden links in old posts?

First I want to say I have never seen any evidence of a fresh 2.3.3 install of WordPress.

The issue most likely comes from either a previous exploitable file still existing in your WordPress install directory or from someone who has already hijacked your admin cookie. You see there were some wicked exploits in earlier versions that allowed people to hijack your admin cookie which authenticates you (keep me logged in).

So what to do…. well if you have WordPress 2.3.3 and you are getting owned regularly here is what you need to do.

1) Make a new fresh install of WordPress and copy over your must have files… like themes, plugins (MAKE SURE THEY ARE UP TO DATE) , images, wp-config.php

2) change your password right away. In case someone has a old hash of your password.

If you have been following the proper upgrade instructions (minus changing the admin pass) on the WordPress you should have been doing this the whole time… ya I know I was not either.

If you are a nerd like me you might want to use SVN which is super dope and is a better and easier way to keep up to date if you know how to use SVN. Here are the instructions for that

Anyway security wise out of the box most web servers are not going to help you find out the root of the problem. Most of these are POST requests and unless you are specifically logging them of have mod_security installed …. there is no log anywhere of any POST request to your web server other then one happened.

Thanks to wordpress developer donncha ocaoimh for answering my twitter 😉

Hope this helps anyone who is having there wordpress 2.3.3 getting owned.

25 thoughts on “WordPress 2.3.3 Hidden Links Injection Exploit and How To Not Let It Happen To You

  1. Pingback: » Check your Wordpress installation » The Antivirus blog

  2. Pingback: quickies » zoso's blog

  3. Pingback: Wordpress 2.3.3 Hidden Links Injection Exploit and How To Not Let It Happen To You | Hot news keeping you plugged

  4. Pingback: Syamsulariff.com » The busiest week in March

  5. Pingback: Affiliate Tracking

  6. Pingback: SearchCap: The Day In Search, March 21, 2008 | Seofinance, seo web finance, search enigne optmization services blog

  7. Pingback: SearchCap: The Day In Search, March 21, 2008 | Search Engine Studies

  8. Pingback: Upgrade Wordpress Blogs Entirely to Avoid Security Holes

  9. Pingback: New Wordpress 2.3.3 Exploit/Vulnerability - Adds Spam Directory /wp-content/1/ | Smackdown!

  10. Pingback: In Anchor » SearchCap: The Day In Search, March 21, 2008

  11. Pingback: I was h4×0r3d | Bronte Media

  12. Pingback: 5X Heavyweight Champion Says Vegas - You Hit the Road! : Purposeinc

  13. Pingback: PR0 Caused by F*ckin Link Injection Exploit - Pogung177 - Affiliate Addict

  14. Pingback: Wordpress Cloaking Exploit – Hidden Footer Links

  15. RaiulBaztepo

    Very Interesting post! Thank you for such interesting resource!
    PS: Sorry for my bad english, I’v just started to learn this language 😉
    See you!
    Your, Raiul Baztepo

  16. vetweb

    Hi, thanks for the tutorial.
    I have wp 2.6 installed, and got link injection in footer area. I’ve removed them but worry to see it again in the future. Any idea?

  17. Pingback: » Check your Wordpress installation » XavierMedia.com

  18. Pingback: How To – Guard Against Wordpress Text Link Injection Attacks | The Gospel According To Rhys

  19. Pingback: Poorly Coded Site Search can Kill Your Rankings « Vergil Kanne

  20. termite treatment phoenix

    With the whole thing that appears to be developing within this subject material, all your viewpoints tend to be relatively refreshing. However, I beg your pardon, because I can not give credence to your entire theory, all be it exhilarating none the less. It seems to me that your opinions are generally not totally justified and in simple fact you are yourself not really fully confident of the assertion. In any event I did appreciate reading through it.

Comments are closed.