Skip to content
Subdomain takeover Write-up Advanced

EA Games Vulnerability

A dangling CNAME record for an EA subdomain allowed an attacker to register the abandoned Azure service name and take control of that subdomain. Combined with an OAuth redirect_uri weakness and a Referer check bypass, this let the attacker steal a victim's SSO token and take over their EA account.

research.checkpoint.com

Published on research.checkpoint.com

In the last few weeks, Check Point Research has combined forces with CyberInt to identify a chain of vulnerabilities that, once exploited, could have led to the takeover of millions of player accounts within the world’s second largest gaming company, EA Games. The potential damage could have involved an attacker…

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 a dangling CNAME record pointing to an unclaimed Azure service name, combined with an OAuth implementation that accepted an attacker-controlled redirect_uri and only weakly checked the Referer header.

Impact

An attacker could take over EA player accounts, potentially accessing credit card information and purchasing in-game currency on the victim's behalf.

What the attacker needed

Victim is logged in to EA; victim visits attacker-controlled page; attacker registers abandoned Azure name

The fix

EA removed the dangling CNAME and tightened the OAuth redirect and Referer validation, and the report says the issues were fixed.

How it was found

  1. Notice that the EA subdomain's CNAME points to an Azure service name that is no longer registered.
  2. Register that Azure service name in the attacker's own Azure account to take over the subdomain.
  3. Modify the returnURI parameter in the OAuth request so the SSO token is issued for the hijacked subdomain.
  4. Host an iframe on the hijacked subdomain so the request carries a trusted Referer header.
  5. Use the redirectback parameter to bypass the jQuery postMessage origin check and redirect the victim.
  6. Capture the victim's SSO token from the Referer header on the attacker's server.

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 company pointed one of its web addresses at a cloud service it later stopped using, but never removed the pointer. Anyone who noticed could claim that unused cloud name and start serving their own pages on the company's address. Because the company's login system trusted that address, the attacker could trick a logged-in player into sending their login token to the attacker.

What is Subdomain takeover?

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.

Similar reports

View all

Same bug class and techniques, clearest first.

Subdomain takeover

The lesson behind this report.

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.