How I Hacked the Dutch Government and Got a Lousy T-Shirt
A Dutch government website had its Drupal installation endpoint (/core/install.php) publicly accessible, which could allow an attacker to reinstall Drupal and take over the site. The researcher found it via Google dorking and reported it without attempting exploitation.
medium.com
Published on medium.com
I wasn’t expecting much when I started poking around a Dutch government website. Just another night of recon, running automated tools, and hoping to find some low-hanging fruit.
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 Drupal installation script was left accessible after setup, allowing reinstallation.
Impact
An attacker could potentially reinstall Drupal and gain complete control over the government website, though the researcher did not attempt exploitation.
What the attacker needed
Drupal site with exposed install page; Internet access to the site
The fix
Access to the /core/install.php endpoint should be restricted and proper configuration ensured; the organisation resolved the vulnerability.
How it was found
- Used a Google dork to find Dutch sites with an exposed Drupal install page.
- Opened a promising site and confirmed the install page was accessible.
- Verified the site was government-related by checking its content.
- Decided not to attempt reinstallation and reported the vulnerability instead.
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.
Drupal is a content management system used to build websites. During setup, it uses an installation page; if that page is left accessible after setup, someone could run the installer again and effectively take over the site. The researcher found such a page on a government website and reported it instead of exploiting it.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.