Internal loop going to infinite for cb.setTimeout(func, msecs) for broadcast app.
A broadcaster could upload an app whose JavaScript repeatedly schedules itself with a short timer, producing an endless loop of chat notices. This floods the broadcast page with messages and could annoy viewers, though the report does not show any real security impact.
- Disclosed after 2 months
Hi There,
I am not sure about that this is vulnerability for @chaturbate or not but in my seeing i thought it can be vulnerable and attacker can use this vulnerability for exploitation on @chaturbate website with normal user so finally i decide to report.
As i was just playing with Broadcast app and i found some of the script which provide from @chaturbate it's totally wrong because by modifying script malicious user can make nonsense on website with normal user.
#Step of POC
Step 1 : Go to https://chaturbate.com/apps/upload_app/?slot=0 Step 2 : Make app and give all details as it is what they asked but in
JavaScript codeinsert below code and lunch app.
function callme() {
cb.chatNotice("hello world");
cb.setTimeout(callme, 10)
}
cb.setTimeout(callme, 10)
Now particular this code make infinite call in website and loop will also going to round infinite time which make lots of buffer on website + also make irritation to normal user who visit live broad cast.
#POC video
#Prevention If you allow to make auto call for loop code then please make validation on creating app like put minimum value which you put in token code like if we are making any app for token then website always give notification like put 1 token at list.
Please let me know if you want more information then,
Cheers, Ninjan
Impact
- Attacker make infinite buffer on website.
- Irritate normal users by broadcasting their self and running those kind of app.
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 app platform does not limit how often a scheduled callback can re-register itself, so a self-calling timer runs without bound.
Impact
The app could flood the page with repeated calls and chat notices, which the reporter says may irritate viewers; no confidentiality, integrity or account impact is demonstrated.
What the attacker needed
A broadcaster account able to upload apps
The fix
The platform should rate-limit or cap repeated timer scheduling in broadcast apps, as the reporter suggests adding validation when apps are created.
How it was found
- Open the app upload page for a broadcast slot.
- Create an app with the required details and place the looping timer code in the JavaScript field.
- Launch the app and observe the endless repeated calls and chat notices.
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 broadcast app is a small program a streamer can add to their page. The reporter wrote a program that keeps calling itself every few milliseconds, so it never stops and spams the chat with notices. That is a nuisance rather than a break-in, because the app only does what the streamer already allows.
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.