How to ensure that your WordPress has not been affected by the latest attack
Yesterday, we shared with you the unfortunate news of the outdated WordPress blogs (that are not running the latest version) might be attacked by a potential worm. The only real solution/step to avoid being attacked by this latest worm is to upgrade to the latest version. Having said that, you might be wondering how would you detect that your WordPress blog security hasn’t been compromised. Well in this post, we will be sharing with you how to do that. As you probably know that this attack creates and registers an unsolicited administrator account. So you need to check whether there is any extra admin account for your WordPress account or not. This can be done through a simple SQL query. You need to run this query against your MySQL WordPress DB. There are a couple of ways to run this query which are:
- Go to phpMyAdmin , Select your WordPress database and then go to the ‘SQL’ tab to run the query.
- Run the query mentioned below directly in the command-line MySQL client (Recommended for Advanced users).
The query is
SELECT u.ID, u.user_login FROM wp_users u, wp_usermeta umWHERE u.ID = um.user_id AND um.meta_key = ‘wp_capabilities’ AND um.meta_value LIKE ‘%administrator%’;
| Print article | This entry was posted by Muhammad Ali on September 6, 2009 at 11:56 am, and is filed under News & Reviews. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |


about 3 years ago
Thanks for the tutorial, i more understand.
david