HACKORY
Language · English
← All cases
HACKORY / Real-world cases

Roblox: the forgotten subdomain anyone could claim

A Roblox address still pointed to an outside service the company no longer used. Whoever claimed it could publish pages under the Roblox name.

New here? Try the first lesson without an account

Company or project

Roblox

When

Reported: 9 Apr 2018 · disclosed: 23 Apr 2020

Reference

HackerOne #335330

Severity and scale

Critical (CVSS 9.4)

Real-world cases

The story

In April 2018, a researcher who goes by “geekboy” wrote to Roblox through HackerOne, the platform that runs its bug bounty program. He had found that devrel.roblox.com, one of the company’s addresses, still pointed to HubSpot, an outside service for building web pages. The catch: Roblox’s space on HubSpot was no longer claimed. Anyone could take it and publish whatever they wanted there, under a name ending in roblox.com. The report was made public in April 2020.

The term, explained simply

Picture a sign at the entrance of a building that says “Roblox: 3rd floor”. The company moved out, but nobody took the sign down. If someone else rents the 3rd floor, the sign presents them as Roblox. On the internet, that sign is a DNS record of type CNAME: it says “this name is an alias for this other service”. Each name that hangs from a domain, like devrel.roblox.com, is a subdomain. When the target service is left free and someone else claims it, it is called a subdomain takeover.

The root cause

Roblox stopped using the outside service, but the DNS record pointing to it stayed published. The name still belonged to Roblox; what stood behind it no longer did.

What could happen

From that subdomain someone could show fake login pages or harmful files with the trust of the Roblox domain. Also, Roblox session cookies were valid for all of its subdomains, and the chat service trusted that address: according to the report, that made it possible to steal sessions and read conversations. HackerOne lists it as critical, with a CVSS score of 9.4 out of 10.

How it was fixed and how to prevent it

Roblox removed the dangling CNAME record. To prevent it: when an outside service is retired, delete the DNS record first and only then the account on that service; keep a list of every subdomain with a person responsible for each one; and limit session cookies and trust lists to the names that really need them.

Practice it in Hackory

Sources

Official documents and the researcher’s own write-up. We tell the story, the concept and the defense; there are no steps to repeat the attack.