Skip to content
Leaked secrets Disclosed report Beginner

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.

sainaen Follow

Originally disclosed on HackerOne

Bounty$500 High 8.8 View original
  • 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.

The original report as published on HackerOne, by sainaen. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by sainaen

View all

3 more disclosed reports, best first.

More from Cloudflare Public Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.