Chaturbate "/chat_ignore_list/" endpoint does not check for Account status: Disabled before adding Ignore via POST
The /chat_ignore_list/ endpoint on Chaturbate does not check whether a target account is disabled before adding or removing it from the ignore list. An attacker could ignore or unignore any username, including disabled accounts, even if the user is offline.
- Triaged in under an hour
- Fixed in 2 days
- Paid in under an hour
- Disclosed after 34 days
##Summary## Chaturbate.com provides the ability for its users when in chat to ignore other users in chat rooms via DM etc by adding their camhandle name to ignore_list via HUI
Actually this is just a POST to /chat_ignore_list/ getting as a parameter the username which is the camhandle name in order to add the user to the ignore_list
The same can endpoint is used to unignore the username, by adding the boolen remove parameter set as true remove=1
Although the endpoint checks for the availability of the account to be ingoned or unignored, the endpoint does not check for status: Disabled Accounts before the POST method, as all the endpoints in Chaturbate do.
Also as said on Hint, this can be used to add and username even if not participating at Chaturbate room at the time or being online
Steps To Reproduce:
-
Create an account and disable it (in this POC the disabled airbornh3 was used as a demo)
-
Make a POST to
/chat_ignore_list/endpoint as
username=airbornh3&csrfmiddlewaretoken=XXX

- To verify this is actually happening make a call via GET to
/api/ignored_user_list/

- Make a POST to
/chat_ignore_list/endpoint as
username=airbornh3&remove=1&csrfmiddlewaretoken=XXX

You can also verify that the user was unignored via a GET method to /api/ignored_user_list/ as shown above
##Hint (..get me that POST command in GUI :) )
You can use Burp or any HTTP interceptor to grab and replay an ignore command while inside a chatroom to get the POST command as well. Then you can use it to POST and ignore any user even if he is not connected to any room or not Online at all
##Solution While checking the account availability you should also check account status Disabled as well as doing on all other endpoints as well
Thanks and keep up the great work @nismo
Impact
Misconfiguration, Inappropriate check in endpoint usage
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
Root cause
Likely the endpoint checks whether the target account exists but omits the account status check that other endpoints perform.
Impact
An attacker could add or remove any username from their ignore list regardless of the target's account status or online presence, though the practical harm is limited.
What the attacker needed
A Chaturbate account; ability to send HTTP requests
How it was found
- Create an account and disable it.
- Send a POST request to /chat_ignore_list/ with the username parameter.
- Verify the user was added by sending a GET request to /api/ignored_user_list/.
- Send a POST request to /chat_ignore_list/ with the username and remove=1.
- Verify the user was removed by sending a GET request to /api/ignored_user_list/.
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.
On a chat site, you can ignore other users so you don't see their messages. This report says the feature that adds someone to your ignore list doesn't check if that person's account is disabled. So you can still ignore or unignore a disabled account, even if that person isn't online.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.