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.
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:
- 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

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
- Generate a stats API token at the authtoken page.
- Use the token in a request to the stats API with a username.
- Brute-force the token value.
- 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.