Skip to content
Info disclosure Write-up Beginner

How I Reported a Vulnerability to the Dutch Government — All fo

A Drupal site with the JSON:API module enabled exposed user and file data without authentication, including staff names, internal email addresses, and downloadable internal documents. An attacker could enumerate users and access sensitive files to gather information for social engineering.

Snehil Follow

Published on mrtom001.medium.com

If you’ve been in the bug bounty space long enough, you’ve probably seen researchers flex their government swag. Dutch government t-shirts specifically have become a bit of a badge of honour in the community.

Snehil, on mrtom001.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 JSON:API module's access controls were misconfigured, allowing unauthenticated access to user and file entities.

Impact

An attacker could enumerate staff email addresses and download internal documents, which could aid social engineering; the text does not claim direct system compromise.

What the attacker needed

No authentication required; target uses Drupal with JSON:API enabled

The fix

The core endpoints were patched within 2–3 days, and direct file access returned 404.

How it was found

  1. Enumerate subdomains and filter for high-value targets.
  2. Run Nuclei to find a username leak on a specific path.
  3. Fuzz JSON:API endpoints for user and file entities without authentication.
  4. Download files directly from paths found in the file inventory.

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.

A website feature meant to share data between programs was left open to anyone, without asking for a password. This let the researcher list staff accounts and download internal documents. The mistake is like leaving a filing cabinet unlocked in a public lobby.

What is Info disclosure?

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

More by Snehil

View all

1 more disclosed report, best first.

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.