(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.
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!!
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
- Send the victim a login link containing a return_to value that points to an external site.
- The victim opens the link and enters their password on the legitimate login page.
- 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.