20f1aeb7819d7858684c898d1e98c1bb

What is the significance of “20f1aeb7819d7858684c898d1e98c1bb”? It’s the MD5 hash of the name “Anthony” and was the password used by someone who broke into lightbluetouchpaper.org. Searching for the md5 hash was clever, but it won’t work for long because Ryan is working on securing the WordPress cookies and passwords.
In case you’re wondering, the hacker got in because the blog was running an outdated version of WordPress.

Tips to help keep your blog safe:

  • Keep all your software updated, not just WordPress. Make sure your plugins are updated.
  • Use a strong password. Don’t use words or sequences of characters like “12345″ as your password. Make it a mix of characters and numbers.
  • Don’t ever store your database dump online in a place Google will index it. It is very easy to use a Google search to find it.
  • If you use public WiFi or a net cafe regularly, use SSL to secure the communication with your blog. Use the secure admin plugin for just this purpose.
  • If you use Firefox, install PwdHash. It’s simple to use and works really well.

WordPress MU admins – Fire up phpmyadmin and look at wp_users. Try these sql queries to find weak passwords in your database:

SELECT count(*) FROM `wp_users` WHERE user_pass = md5(‘wordpress’);
SELECT count(*) FROM `wp_users` WHERE user_pass = md5(’12345′);
SELECT count(*) FROM `wp_users` WHERE user_pass = md5(‘qwerty’);
SELECT count(*) FROM `wp_users` WHERE user_pass = md5(‘anthony’);
SELECT count(*) FROM `wp_users` WHERE user_pass = md5(‘Anthony’);
and because of the season:
SELECT count(*) FROM `wp_users` WHERE user_pass = md5(‘christmas’);

Scary isn’t it how many people still use simple passwords? I must release that “Strong password” plugin we use on WordPress.com soon. That will certainly help avoid account hijacking.


You might also like

  • No related posts

If you like this post then please subscribe to my full RSS feed. You can also click here to subscribe by email. There are also my fabulous photos to explore too!

29 thoughts on “20f1aeb7819d7858684c898d1e98c1bb


  1. Timely warning. I have a question, though. I have my WP backups emailed to me daily at my Gmail account.

    Does that violate your third suggestion?

    Thanks

  2. Pingback: TodayNominated.com

  3. I really can’t understand how someone can choose his password to be 12345.
    I am a webmaster for long, had several websites where I could simply see users passwords in the db. To my surprise, 30% are having as password their birth date, 30% their name or girlfriend name. Only about 5-10% are really having strong passwords.

    Thanks for providing this tips.

    Nominated to http://TodayNominated.com listings
    Congrats


  4. I’m curious. In one sentence, you state that Ryan is working on securing this, then in the very next sentence, you state that the break-in occurred because of an outdated version of WordPress.

    If that was the case, why is Ryan working on it?

    I understand the necessity of down-playing a vulnerability, but if it’s a problem then it should be stated as such. Either it needs to be addressed in a future version, or you need to update because the problem exists only in older versions. It can’t really be both.

    thanks,
    json


  5. Json – I should have explained that better. A recent reported “vulnerability” was that passwords were only stored as md5 hashes. For the most part I think that’s fine, but it could be better, and that’s what Ryan is working on.
    Read his post, makes for interesting reading and makes password handling in WordPress a lot more flexible!


  6. Scarily, I’ve used systems that prohibit passwords from containing certain characters, for example passwords that must be alphanumeric and must not contain any other type of character, that insist on comparing them in a case insensitive manner and that insist on them being changed every 28 days or so.
    People not only need to be much more careful when choosing passwords, but also need to look at the larger picture when designing systems that require a log-in.

    And yes, I can’t believe I felt the need to say all this!


  7. Considering how many sites there on on the net now that will run through their database to compare a hash with known hashs, +1 for salting it or md5′ing the md5.


  8. So… what do you recommend we do after editing hundreds of passwords :)

    They’ll just get a new one and then reset it to an older version.

    Forcing, through WP, 6 digits including a letter, number and a punctuation mark, would be a better approach…


  9. People choose stuff that is easy to remember. Things like s4f68g54 are not easy, and thus are not often chosen. The software needs a plugin to enforce password strength, the downside is that many users will walk away when they have to thnk about it.


  10. Not just Ryan! There is a whole team of people contributing to make WordPress’ hashing and cookies more robust to attack, including the person, Steven J. Murdoch, who was attacked and did such an amazing job of isolating the vector.


  11. Guys, just a little reminder seeing how I’m constantly writing about this topic. Please don’t use weak passwords! And here is a radio interview I did on the subject.

    I just can’t understand how in this day and age people still fall for this. It’s one of the classic blunders behind, ‘Don’t get involved in a land war in Asia’, and ‘Never go up against a Sicilian when DEATH is on the line!’ Muahahahaha.

    John

  12. Pingback: Monika's Gedanken

  13. Lloyd – of course! I should have linked to the trac ticket.

    Kae – I was about to try that on the WordPress.com wp_users but it would take ages to execute and probably slow the site down. Phew.


  14. I don’t use word passwords. All of my passwords are 12 characters, randomly generated via a program. I then save them on a thumb drive that I have on my person. When I need to log in I have my secured drive. I’m planning on getting one of those thumb drives that use your thumb print as a password to access the information … heck yeah. If for nothing else than for a complete geek factor.

    But, it is amazing to me how people still use the ol’ cliche passwords. First names, pet names, middle names, birthdays, god … anyone with any shred of ‘net wisdom will realize that you need at least one number in there to break up the easy guesses.


  15. Well “Anthony” isn’t exactly what i call a secure password.

    Try something like “ireallywouldliketoseeAnthonyagain” … that should do the trick.


  16. Thanks for raising this topic in such a creative fashion. All someone needs to do is download a brute force utility to see how easy it is to hack their weak passwords. 8 characters should be anyone’s minimum, and those should not be dictionary entries — in any language.

    And oh yes… thanks, John, for the “Princess Bride” reference.

Leave a Reply

Loading Facebook Comments ...