Skip to content
Open redirect Write-up Beginner

How i find Open Redirect and RFD on Steam domain

The OpenID login endpoint on a Steam community domain reflected the return_to parameter without properly restricting where it pointed, so a crafted link could send a logged-in user to an arbitrary external site. The same parameter could also be pointed at a file, causing the browser to download it directly from the Steam domain.

medium.com

Published on medium.com

I discovered these bugs 4 years ago and used them in Red Team operations to deliver implants and redirect to phishing sites. Here’s a quick summary:

Ronald Fazioni (AlcaTech Security), on medium.com

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 OpenID return_to parameter was not validated against an allow-list of trusted destinations, so any protocol and host supplied by the user was accepted.

Impact

A logged-in user who opens a crafted link could be sent to an attacker-controlled site for phishing, or have a file downloaded from the trusted Steam domain; some destinations are blocked but a link shortener bypasses that, and the user must already be logged in or will see a warning.

What the attacker needed

Victim is logged in to Steam; victim clicks a crafted link; link shortener to bypass blocked domains

How it was found

  1. Start a Steam OpenID login flow and observe the return_to parameter in the request.
  2. Change the return_to value to an external address, including the protocol.
  3. Open the crafted link while logged in to Steam.
  4. Observe the browser being redirected to the external site.
  5. Point return_to at a file instead to trigger a download from the Steam domain.

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.

When you log in to a site using another service (here Steam), the service needs to know where to send you back afterwards, and it stores that address in a link parameter. If it does not check that address carefully, an attacker can put their own site there, so the victim ends up on the attacker's page while the link still looks like it belongs to Steam. The same trick can make a file download straight from the trusted Steam address.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.