API docs expose an active token for the sample domain theburritobot.com
A screenshot in Cloudflare's API token creation documentation showed a valid API token with permissions to modify DNS records for a demo zone. An attacker could use that token to alter DNS records for the demo domain.
- Triaged in 19 hours
- Fixed in 19 hours
- Paid in 19 hours
- Disclosed after 4 months
Summary by the program
A screenshot featured on API token creation documentation page exposed a valid API token with permissions sufficient to modify DNS records of one of Cloudflare’s demo zones. The token has since been revoked.
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
Impact
An attacker could modify DNS records of the demo zone, but the token has since been revoked.
What the attacker needed
Access to public documentation
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.
An API token is like a password that lets a program act on your behalf. Here, a picture in the company's help pages accidentally showed a real, working token. Anyone who saw the picture could have used it to change the settings for one of the company's example websites.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.