Skip to content
Info disclosure Write-up Intermediate

How I Got a Bug Bounty Using Only Recon

An unauthenticated endpoint exposed user configuration data, including sensitive keys, because the application did not enforce authentication on that path. An attacker could retrieve this information without logging in.

medium.com

Published on medium.com

ကျွန်တော် Bounty ရှာတဲ့ website က နိုင်ငံတ� ်နိုင်ငံရဲ့ ဝန်ကြီးဌာန website ပါ။ တကယ်က ဘာမှမထူးပါဘူး။ ကိုယ့်ဘာသာ ရှာခြင်းရှာ Government Website တွေပဲရှာမယ်ဆိုပြီး သက်သက် လျှာရှည်တာပါ။

Htun Aung Kyaw, on 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 missing authentication checks on the configuration endpoint, allowing unauthenticated access.

Impact

An unauthenticated attacker could access sensitive configuration data and keys, potentially leading to further compromise.

What the attacker needed

No account needed; knowledge of endpoint pattern

How it was found

  1. Gather subdomains using multiple sources including crt.sh and web APIs.
  2. Crawl discovered subdomains with tools like katana and waybackurl to collect URLs and JavaScript files.
  3. Extract links from JavaScript files using Linkfinder.
  4. Fuzz the discovered endpoint patterns without logging in.
  5. Request the configuration endpoint and observe sensitive keys and config data returned.

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.

The website had a page that was supposed to be for logged-in staff only, but it could be opened by anyone. By guessing the address, the researcher found it returned private settings and secret keys. This is like a locked room whose door was left open.

What is Info disclosure?

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

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.