Skip to content
Misconfiguration Write-up Beginner

I Used Shodan to Find Unprotected WordPress Sites — It Was

Unfinished WordPress installations were exposed on the internet, allowing anyone to complete the setup and become the site administrator. The author claims this could lead to remote code execution by uploading a vulnerable plugin, but does not provide the actual exploitation steps.

Gandolf Follow

Published on medium.com

Hey friends! Hope you’re having an amazing day — may your pockets be full of cash and your bug bounty reports full of vulnerabilities. 😎

Gandolf, on medium.com

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 WordPress installation script (install.php) was left accessible after setup was not completed, allowing anyone to run the installer and create an administrator account.

Impact

An attacker could become the administrator of an unfinished WordPress site, and the author hints that this could lead to remote code execution by uploading a vulnerable plugin, though the exact method is not described.

What the attacker needed

Unfinished WordPress installation exposed online; Ability to access the setup page

The fix

The installation script should be removed or access to it restricted once setup is complete, and unfinished installations should not be left exposed to the internet.

How it was found

  1. Search Shodan using a dork for WordPress installation pages.
  2. Open one of the results to reach the unfinished setup page.
  3. Complete the WordPress setup to become the administrator.

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 you install WordPress, there is a setup page that lets you create the admin account. If that page is left open on the internet after installation is supposed to be finished, anyone who finds it can finish the setup and take control of the site. The author found many such sites using a search engine called Shodan, which lists devices and services connected to the internet.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.