How Fuzzing Helps Me To Get My First Bounty
A publicly accessible .gitignore file on a subdomain exposed paths to more sensitive directories. An attacker could use this information to locate and access those directories.
Published on infosecwriteups.com
I’m Praveen Mali (PMMALI). This is my first writeup and in this writeup I will tell you how fuzzing leads me to my first bounty.
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 .gitignore file was accidentally deployed to the public web root, exposing internal directory paths.
What the attacker needed
None
The fix
The .gitignore file should be removed from the public web root and such files should not be deployed to production.
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 .gitignore file is normally used by developers to list files that should not be shared. Here it was left on a public web server, and it revealed the names of other folders that might contain private data. The finder used a tool that tries many common file names to discover such exposed files.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.