Skip to content
Info disclosure Write-up Beginner

Hacking for Good: How I Used ffuf to Secure a Government Website

The author used the ffuf fuzzer to discover hidden endpoints on a government website, including an undocumented API, a deprecated admin panel, and a backup endpoint that returned a file list. These exposed paths were reported as increased attack surface rather than confirmed vulnerabilities.

devprogramming Follow

Published on devprogramming.medium.com

My 4-Hour Fuzzing Process on a Government VDP: Wordlists, Recursion, and Filter Tricks to Bypass WAFs and Find Leaks.

DevProgramming, on devprogramming.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 leftover or undocumented endpoints remained reachable on the public site, increasing the attack surface.

Impact

The exposed endpoints could reveal version information, file listings, or log storage locations, but the text does not confirm any sensitive data was actually accessible.

What the attacker needed

Permission via a VDP; public-facing subdomain in scope; ffuf and wordlists installed

The fix

The endpoints were reportedly hidden or secured after the report.

How it was found

  1. Run a broad directory scan against the target with a medium wordlist, filtering out 404 and 403 responses.
  2. Enable recursive fuzzing on the discovered API path to find deeper subdirectories.
  3. Fuzz query parameter values to look for debug flags or verbose errors.
  4. Check virtual hosts by fuzzing the Host header and filtering by response size.
  5. Manually verify interesting hits in a browser or with curl.
  6. Report the exposed endpoints through the VDP portal with screenshots and impact analysis.

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 hidden endpoint is a web address that is not linked from the public site, such as an old admin page or an internal API. The author used a tool that tries thousands of possible addresses from a list to see which ones exist. Finding these pages matters because they may expose data or give attackers a way in, even if they are not linked anywhere.

What is Info disclosure?

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

More by devprogramming

View all

2 more disclosed reports, 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.