Skip to content
Open redirect Disclosed report Beginner

(BYPASS) Open Redirect after login at http://ecommerce.shopify.com

The login page on ecommerce.shopify.com accepted a return_to parameter that could point to an external site, so after entering credentials the victim was sent to an attacker-controlled domain. An attacker could use this to redirect users to a phishing or malicious page after a legitimate login.

jamesclyde Follow

Originally disclosed on HackerOne

  • Triaged in 8 days
  • Fixed in 14 days
  • Paid in 34 days
  • Disclosed after 34 days

Hi,

The users can be redirected to some other site which is in control of the attacker from http://ecommerce.shopify.com/accounts

Let's say user is attacker asked victim to login from the here : https://ecommerce.shopify.com/accounts?return_to=%40evil.com/

When victim enters the password he is redirected to https://evil.com

These can be controlled by the attacker and used in other attacks

Works in all browsers!!

The original report as published on HackerOne, by jamesclyde. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application trusted the user-supplied return_to value without checking that it stayed on the same site.

Impact

An attacker could redirect a victim to an attacker-controlled site after a real login, which could be used in further attacks such as phishing; the report says it works in all browsers.

What the attacker needed

Victim clicks a crafted login link; victim enters credentials

How it was found

  1. Send the victim a login link containing a return_to value that points to an external site.
  2. The victim opens the link and enters their password on the legitimate login page.
  3. After login the victim is redirected to the external site.

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 report has not been written yet. The Original tab links to the source.

After you log in to a website, it often sends you back to the page you came from. This report shows that the 'where to send you next' value could be changed to an outside website, so a victim who logs in normally could end up on a fake page controlled by an attacker. That is called an open redirect.

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.

More by jamesclyde

View all

8 more disclosed reports, best first.

More from Shopify

View all

The newest disclosed reports for this program.

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.