Skip to content
Info disclosure Write-up Advanced

Your Blue Team is Incomplete Without Dark Web Monitoring — How I Found a Bug in Criminal Chatter…

A development subdomain of a company was found through certificate transparency logs and the Wayback Machine, and its debug mode leaked stack traces containing database strings, internal addresses and API keys. The author then claims a JWT algorithm confusion flaw allowed forging an admin token, and that an enabled Symfony profiler exposed environment variables including cloud credentials.

infosecwriteups.com

Published on infosecwriteups.com

Free Link🎈

Iski, on infosecwriteups.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 a development environment was exposed in production with debug mode and a profiler enabled, and the token verification accepted a public key as a symmetric secret.

Impact

The author claims full compromise, including employee personal data, cloud credentials with storage access and internal network details, though the account is a single unverified narrative.

What the attacker needed

Internet access to the target; a valid existing token

How it was found

  1. Search certificate transparency logs for subdomains matching api, internal, dev or staging
  2. Check the Wayback Machine for old internal API endpoints
  3. Send a request to the internal export endpoint with a crafted user identifier to trigger a detailed error
  4. Fetch the public keys from the authentication service's key endpoint
  5. Forge a token with an elevated role using the public key as the signing secret
  6. Open the profiler URL to read environment variables and cloud credentials

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 company had a test version of its website left reachable on the internet, and it was set to 'debug mode', which shows detailed error messages. Those messages revealed secrets such as database details and keys. The author says they then abused how login tokens were checked to pretend to be an administrator and read private data.

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.