How an Internal Tool Accidentally Became Public Internet Property
An internal operations dashboard was publicly accessible without authentication, and its cache preview feature allowed cache poisoning via unkeyed headers, exposing sensitive credentials and tokens. An attacker could use these to access internal services and data.
Free Link🎈
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 internal tool lacked authentication and its cache preview endpoint trusted unkeyed headers, allowing cache poisoning.
Impact
An attacker could access sensitive internal data, trigger internal exports, enumerate services, and move laterally within the infrastructure.
What the attacker needed
No authentication required; Publicly accessible subdomain; Cache preview endpoint exposed
The fix
The report states that CDN rules were updated and access was locked down.
How it was found
- Discovered an internal ops dashboard subdomain that was publicly accessible without authentication.
- Found a cache preview endpoint that returned cached responses for internal APIs.
- Added headers like X-Forwarded-Host and X-Original-URL and observed that the response changed but the cache key did not.
- Sent a request with X-Original-URL pointing to a sensitive internal API, which was cached under a different resource path.
- Accessed the cached response in a fresh browser without any special headers, revealing sensitive data.
- Used an exposed service token to access an admin API endpoint, confirming unauthorized access.
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.
An internal tool meant only for employees was left open on the internet, so anyone could see it. The tool had a feature that let developers preview cached data, but it trusted certain headers that the caching system ignored, allowing an attacker to trick it into storing sensitive information. This exposed secret keys and tokens that could be used to access other internal systems.
What is Cache bugs?
A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.