How I Secured the Dutch Government(ncsc-nl): “Critical” Finan
A token in a URL parameter remained valid for years, allowing access to archived links that exposed credit card details and personal information. An attacker could view these details and potentially pay bills or remove cards.
Published on enterlectury.medium.com
I look for scope list, I found a well-organized gist by zzzteph (https://gist.github.com/zzzteph/99a7bd2acde12cb4b2626fc9261bc56d) here containing Dutch government subdomains. I used wget to clone the list locally.
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 token in the 'r=' parameter was not set to expire, so it remained valid indefinitely.
Impact
The leaked information included credit card details, allowing an attacker to potentially pay bills or remove cards, and exposed personally identifiable information.
What the attacker needed
Access to archived URLs; knowledge of the token parameter
The fix
The issue was fixed by the developers after the report.
How it was found
- Find Dutch government subdomains from a public list.
- Filter live domains and manually search for interesting subdomains.
- Use a browser extension to check archived URLs from sources like Wayback Machine and VirusTotal.
- Identify archived links containing a token in the 'r=' parameter that exposed credit card details.
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 web link contained a special code (token) that acted like a password. Because the code never expired, anyone who found the link later could still use it to see sensitive information like credit card details.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.