Skip to content
Info disclosure Write-up Beginner

How I Found Bug in Dutch Government and Never got the Swag

Two vulnerabilities were found on Dutch government websites: directory listing on WordPress upload and includes directories exposed log files and sensitive information, and an Apache Jena Fuseki admin panel was accessible with default credentials. An attacker could use the exposed information for further exploitation and could log in to the admin interface to view or manipulate linked data sets.

medium.com

Published on medium.com

In this post, I’ll walk you through how I discovered vulnerabilities on a Dutch government website and, as a result, never got the swag — including a T-shirt with an awesome quote “I hacked the Dutch Government and all i got was this lousy t-shirt”

Vikas Anand, 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 web server was configured to allow directory listing on WordPress folders, and the Apache Jena Fuseki admin panel was left with its default admin credentials unchanged.

Impact

The exposed log files and sensitive information could potentially be leveraged for further exploitation, and the default credentials could allow an attacker to view or manipulate linked data sets through the admin interface.

What the attacker needed

Public list of government domains; internet access to target sites; no account needed

How it was found

  1. Collect a list of Dutch government domains from a public GitHub gist.
  2. Use Nuclei with a WordPress detection template to filter domains running WordPress.
  3. Run WPScan on a chosen WordPress site to enumerate directories and plugins.
  4. Notice directory listing enabled on wp-includes and wp-content/uploads, and inspect exposed log files and sensitive information.
  5. Enumerate subdomains of another domain and open them in the browser to inspect manually.
  6. Find an Apache Jena Fuseki login panel, try the default admin:admin credentials, and gain access to the admin interface.

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.

Directory listing means a web server shows a list of all files in a folder instead of a normal web page, so anyone can see files that were not meant to be public. Default credentials are a built-in username and password that the software ships with, and if nobody changes them, anyone who knows them can log in. Here, both mistakes let outsiders see private files and reach an admin panel.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.