Datadog api keys exposed can be used to do all the read and write access to the instance
Datadog API and application keys were embedded in a JavaScript file on the site. They could potentially give unauthorised access to Datadog services.
Originally disclosed on HackerOne
- Disclosed after 17 days
Summary by the program
The researcher identified DatadogHQ API keys and application keys embedded in a JavaScript (JS) file on the site █████. These keys could potentially provide unauthorized access to DatadogHQ services. The researcher responsibly reported the issue, providing a proof-of-concept (PoC) to demonstrate the vulnerability without exploiting it further.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, secret Datadog API and application keys were placed in client-side JavaScript, where any visitor can read them.
What the attacker needed
Keys exposed in a public JS file
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 report has not been written yet. The Original tab links to the source.
A JavaScript file is code a website sends to your browser, and anyone can read it. This site left secret keys inside that file, which could potentially let someone access the company's Datadog account.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.