Skip to content
Account takeover Disclosed report Beginner

No rate limit in stats api token endpoint

The stats API token endpoint lacked rate limiting, allowing an attacker to brute-force tokens. A correct token returned a 200 OK response, enabling an attacker to view another user's stats.

exploit0tango Follow

Originally disclosed on HackerOne

  • Triaged in 6 hours
  • Fixed in 34 hours
  • Paid in 6 hours
  • Disclosed after 28 days

##Brute force on statsapi endpoint to view stats of an user##

Steps To Reproduce:

  1. Stats api token can be generated at https://chaturbate.com/statsapi/authtoken/

https://chaturbate.com/statsapi/?username=hackeronetestchat&token=**vulnerable**

I've used my profile and and my token to check brute force

The correct token returned with 200 ok status

Impact

An attacker could view the stats of an user

Attachments

chaturbate1.PNG
chaturbate1.PNG From the original on HackerOne

The original report as published on HackerOne, by exploit0tango. 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 view the stats of a user.

What the attacker needed

A valid username; ability to send many requests

How it was found

  1. Generate a stats API token at the authtoken page.
  2. Use the token in a request to the stats API with a username.
  3. Brute-force the token value.
  4. A correct token returns a 200 OK response.

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 stats API token is like a password that lets someone view a user's statistics. The website did not limit how many guesses someone could make, so an attacker could try many tokens until one worked. This is called brute force.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by exploit0tango

View all

1 more disclosed report, best first.

More from Chaturbate

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.