How to Instantly Find a Full WordPress Site Takeover (In Just Min
A WordPress site left its installer script reachable after setup, so the setup process could be started again. An attacker could create a new administrator account, log into the dashboard and take over the site, including defacing it.
Josekutty Kunnelthazhe Binu Follow
Published on medium.com
Hello folks today I want to talk about a silly misconfiguration which can leads to entire compromise of your wordpress website.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the installer file was left in place and still executable after installation, instead of being removed or locked once setup completed.
Impact
An attacker could gain full control of the WordPress dashboard and deface the site; the author only demonstrated this in a controlled environment, so real-world success is not shown.
What the attacker needed
Installer left reachable after setup; no authentication needed
How it was found
- Open the installer page on the live WordPress site.
- Start the setup process again and submit the requested details.
- Wait for the success page telling you to log in.
- Log in with the new credentials to reach the admin dashboard.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When WordPress is first installed, a setup page runs to create the database connection and the first admin user. That page is meant to stop working once setup is finished. Here it stayed reachable, so anyone could run the setup again and make themselves an admin.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.