How a Subdomain Named “internal” Exposed 29,000 Customer Acco
A publicly accessible subdomain hosted a static dashboard containing sensitive sales and revenue data, with authentication enforced only in client-side JavaScript. An attacker could bypass the check by requesting the static HTML file directly, gaining access to the exposed business intelligence.
Published on medium.com
A subdomain literally called “internal” on a public DNS record is always worth investigating. I ran all subdomains through httpx for fingerprinting:
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
Impact
An unauthorised party could view detailed sales strategy, customer segmentation, and revenue figures, though the report notes the exposed data was static and did not include direct customer account credentials.
What the attacker needed
None
The fix
The vulnerability should be fixed by enforcing authentication on the server for all static files and API endpoints, not relying on client-side checks.
How it was found
- Enumerate subdomains and find internal.target.com.
- Request the subdomain and observe it returns HTTP 200 without a login redirect.
- Download the JavaScript bundle and extract the Supabase URL and anon key.
- Inspect the bundle to find the client-side email domain check.
- Directly request the static dashboard HTML file, which loads without authentication.
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 login check that ran only in the visitor's browser, not on the server. Anyone could skip the check by asking the server for the page directly, like using a command-line tool instead of a browser. This let them see private sales data that was meant to be protected.
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.