404 to Fortune: How a Broken Link Uncovered Internal APIs & Staged Dev Dumps
A broken link to internal API documentation was recovered via the Wayback Machine, revealing internal endpoints. Further enumeration found a publicly accessible database dump containing staging and production credentials, which allowed the attacker to log into the admin panel and access an open Kibana instance with sensitive logs.
infosecwriteups.com
Published on infosecwriteups.com
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, sensitive files such as internal documentation and database dumps were left publicly accessible on a development asset server, and credentials were reused across environments.
Impact
The attacker could access the admin panel and an open Kibana instance, exposing password reset tokens, PII, and payment webhook URLs with tokens.
What the attacker needed
None
How it was found
- Found a 404 link to internal API documentation on dev-assets subdomain.
- Used Wayback Machine to retrieve archived versions of the documentation, revealing internal endpoints.
- Ran ParamSpider and ffuf to discover endpoints like /api/test/db-dump.zip.
- Downloaded and extracted the zip file, obtaining credentials and secrets.
- Used leaked admin credentials to log into the admin panel and obtain a token.
- Accessed an open Kibana instance using leaked dev credentials, exposing logs with PII and tokens.
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 broken link on a website led to old internal documentation that was archived online. By exploring further, the attacker found a downloadable file containing secret passwords and keys. These secrets allowed access to the admin panel and a logging system, exposing user data.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.