Rate Limit issues that can lead to disclosing some of Spreaker user’s data
An API endpoint that returns user data had no rate limiting, allowing an attacker to brute-force user IDs and collect personal information such as full names, emails, birthdays, locations, follower counts, and privacy settings. The endpoint was accessible without authentication.
medium.com
Published on medium.com
Seven months ago, I submitted a Bruteforce / Rate Limit issue to Spreaker, which allows me to leak a mass user’s Full Name, Location, Birthday, Email, Followers count, and also some of its privacy settings.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API endpoint lacked rate limiting and authentication, allowing enumeration of user IDs to retrieve personal data.
Impact
An attacker could gather personal data (full name, email, birthday, location, follower count, privacy settings) for many users, but the report does not confirm the scale or whether all data was always exposed.
What the attacker needed
No authentication needed; knowledge of user ID format
The fix
The endpoint should be fixed by adding rate limiting and requiring authentication, but the report does not state that it was fixed.
How it was found
- Identify the API endpoint that returns user information by user ID.
- Send requests with different user IDs (seven-digit numbers) without authentication.
- Automate the process with a script to collect data for many users.
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 write-up has not been written yet. The Original tab links to the source.
A rate limit is a cap on how many requests a server will accept in a given time. Without it, someone can write a script to try every possible user ID and download personal details for many users. The endpoint also did not require login, so anyone could do this.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.