Skip to content
Open redirect Write-up Beginner

Finding an Open Redirect Pattern on a Shopify Storefront: A Bug B

A Shopify storefront's password page embedded a user-controlled return_to parameter in an inline script, which could be used to craft phishing links that appear to be on the trusted domain. The author notes that CAPTCHA and client-side protections prevented a full automated redirect, and the issue was reported as a low-severity misconfiguration.

Nrn Follow

Published on medium.com

While working on a web application security internship focused on bug bounty hunting, I picked the GRW Trading FZE program on YesWeHack, specifically targeting wholesalexl.com — a smaller-scope Shopify storefront with only a handful of existing reports.

Nrn, 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 return_to parameter's value was not validated against an allowlist of permitted domains before being used for redirection.

Impact

An attacker could craft a phishing link using the return_to parameter to make users believe they are on a trusted Shopify domain while being redirected elsewhere, though CAPTCHA and client-side protections prevented a full automated redirect.

What the attacker needed

Victim clicks a crafted link; merchant may need to be logged in

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.

An open redirect is when a website takes a link parameter and sends you to another site without checking it is safe. Here, a parameter called return_to was placed in the page's code, and an attacker could share a link that looks like it belongs to the shop but actually sends people elsewhere. The page had protections that stopped a full redirect from happening automatically, so the risk was limited.

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.