Update: WordPress reacted fast and published the security update 2.8.4 which eliminated the vulnerability. Please upgrade now. Read the official WordPress post here.
With only a browser it is possible to delete the Admin’s password and let him stand outside his own site, due to a vulnerability in WordPress’ up-to-date version 2.8.3.
When you’re unable to login to your own site, it can get kind of stressful. Hey, it just happened to me today, isn’t that a remarkable coincidence?
Luckily i already read about the problem, so if you can’t login to your WordPress 2.8.3 admin area, don’t worry too much:
Here’s what you can do to reset your admin password and avoid more damage…
Have you been logged out from the admin area? Have you received one or more emails with new generated passwords? Can’t you login with your original password anymore?
Go to the site village-idiot.org and download the “Emergency Password Reset Script”. Follow the instructions:
Now you can log in with that new password. It’s important that you’ve entered your original Username to that form on emergency.php. Don’t take a new Username.
Okay, i’ve decided to blind trust the WordPress Devs. They say they found a solution. If that’s true it’s pretty simple to kill the vulnerability.
if ( empty( $key ) )
with
if ( empty( $key ) || is_array( $key ) )
Save, upload and overwrite the old wp-login.php and you’re done.
For more detailed information about this please visit the following sites:
[Full-disclosure] WordPress <=2.8.3 Remote admin reset password by Laurent Gaffie
Resetting Your Password (codex.wordpress.org)