My First Paid Bug Bounty: A Hidden Gallery & A Lesson in Misconf
A page listed as disallowed in robots.txt was still publicly accessible without authentication, exposing an event media gallery. An attacker could view content that was intended to be restricted, though the exposed data was not sensitive.
Published on medium.com
I’m Naitik Gupta, an 18-year-old Cybersecurity Enthusiast and Security Researcher. I’m proud to be ranked among the Top 1% of security researchers on Com Olho, currently holding a position in the Top 15 across Indiaby Com Olho.
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 page was excluded from search engines via robots.txt but lacked proper server-side access control, so it remained publicly reachable.
Impact
The exposed gallery contained only event photos and promotional banners, not confidential information, but it showed inconsistent access control that could expose more sensitive content in future.
What the attacker needed
None
The fix
The page should be protected with proper server-side access control (such as authentication or authorisation checks) rather than relying on robots.txt, which only advises search engines.
How it was found
- Read the robots.txt file and note a disallowed path.
- Visit the disallowed path directly in a browser.
- Observe that the page loads without any login or restriction.
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 robots.txt file tells search engines which pages not to crawl, but it does not enforce access control. Here, a page listed there was still reachable by anyone, so the restriction was only a suggestion, not a real lock.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.