UXSS to Account Takeover in Rushbet
The Rushbet Android app exposed a WebView that could be manipulated by a malicious app installed on the same device to steal the user's session token. An attacker with a malicious app could then use that token to take over the victim's account.
fluidattacks.com
Published on fluidattacks.com
During the 2022 FIFA World Cup, many people were betting their money in support of their preferred teams. With this in mind, I researched which mobile sports betting apps were the most used.
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 app's WebView was exposed to other apps on the device without proper isolation, allowing a malicious app to inject script and read the session token.
Impact
A malicious app already installed on the victim's phone could steal the session token and take over the Rushbet account.
What the attacker needed
Malicious app installed on victim's device; Rushbet app v2022.23.1-b490616d
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 session token is a secret string an app stores after you log in, so it can prove who you are without asking for your password again. The Rushbet app used a built-in browser view (a WebView) that another app on the same phone could reach into and read that secret. With the secret, the other app could act as the victim on Rushbet.
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.