Skip to content
Access control Write-up Beginner

My Bug Bounty Journey #7: When Hidden URLs Aren’t Secure

A subdomain with a hard-to-guess random identifier was deployed without any authentication, so anyone who found it could read all the sensitive data it served. The author found it by enumerating subdomains and notes that Certificate Transparency logs make such 'hidden' hostnames discoverable.

awchjimmy Follow

Published on medium.com

Before I got into bug bounty programs, I used to be a web developer. And like many developers, I sometimes took shortcuts.

awchjimmy, 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 the site was built for internal use with no authentication, relying only on an unguessable path, and was later exposed publicly when its subdomain was registered for HTTPS certificates.

Impact

Anyone who discovered the subdomain, for example through public certificate logs, could access all the sensitive data it served without any credentials.

What the attacker needed

Subdomain enumeration; public certificate transparency logs; no account needed

The fix

The site should require proper authentication rather than relying on an unguessable address, and reviews should be built into the development cycle instead of postponed.

How it was found

  1. Enumerate subdomains within the programme's scope.
  2. Notice a suspicious subdomain whose name contains random identifiers.
  3. Open it and observe that no login or token is required.
  4. Confirm that all sensitive data is accessible just by visiting the site.

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.

Some developers try to protect a page by giving it a long, unguessable web address instead of asking people to log in. This is called security by obscurity, because the only protection is that nobody knows the address. Here the address leaked through public certificate records, and the page had no login at all, so anyone who found it could read everything.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by awchjimmy

View all

5 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.