Disclosure of Secrets – A $1000 Bug Bounty Win
An exposed configuration file contained an Azure Application Insights instrumentation key, allowing the author to send arbitrary log entries to the telemetry service. An attacker could inject fake logs, potentially misleading security monitoring and making real threats harder to spot.
medium.com
Published on medium.com
In bug bounty hunting, speed is everything. When a new asset is added to a program, being one of the first to test it can mean the difference between finding a critical issue or missing out entirely.
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 publicly accessible configuration file exposed a sensitive telemetry key that was not meant to be public.
Impact
An attacker could inject fake logs, potentially manipulating security dashboards and making real threats harder to identify.
What the attacker needed
Newly added asset in scope; publicly accessible config file
The fix
The exposed key was revoked and the misconfiguration was patched.
How it was found
- Search for publicly accessible configuration files on a newly added asset.
- Find an exposed JSON configuration file containing an Azure Application Insights key.
- Send a test log entry to the telemetry endpoint using the exposed key.
- Observe that the server accepted the injected log entry.
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 configuration file that should have been private was publicly accessible and contained a key for a logging service. That key let anyone send fake log entries, which could confuse the people watching for security problems.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.