HexBrain

Roblox · Report #703058

Insecure redirect rule results in bypassing ban redirect on certain pages

Validstatus
mediumseverity
233upvotes
26 Apr 2020disclosed

Summary

An insecure redirect rule allowed an attacker to bypass the ban redirect on pages ending in .aspx/.ashx.

Additionally, I have also mentioned in my report that api.roblox.com did not have a check for banned authenticated sessions.

How it was found

Description

Account bans on Roblox work via redirect rules. If an user attempts go to a page that's outside a whitelisted set of rules, they'll be redirected back to the ban page.

After researching, I've found that the following rules are whitelisted and bypass this redirect:

All of these seem okay, except for https://www.roblox.com/*/membership/*. The /membership/ part is not anchored to the start of the URL.

In ASP.NET, we can actually insert paths after the extensions .aspx and .ashx, which will just be ignored by the server.

This allows us to access any pages ending in .aspx/.ashx without a ban-redirect, just by appending /membership/ after the extension. Ex.: https://www.roblox.com/my/money.aspx/membership/

Impact

An attacker would be able to access the following pages/apis with a banned account:

A moderator couldn't do anything to stop the attacker from performing these actions. Bans would be ineffective.

Another thing I would like to mention is that banned accounts can access ANY web apis at api.roblox.com, without a need for a bypass or anything.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original