(BYPASS) Open redirect and XSS in supporthiring.shopify.com
The path parameter on supporthiring.shopify.com could be bypassed using a double slash encoding to redirect users to an attacker-controlled site. An attacker could craft a link that sends victims to a malicious domain after a brief delay.
Originally disclosed on HackerOne
- Triaged in 5 hours
- Fixed in 29 days
- Paid in 39 days
- Disclosed after 3 months
Hello,
The users can be redirected to some other site which is in control of the attacker from
Vulnerable parameter: path=
You have a protection here at path= but it bypass the parameter if you add a double slash, like %2F%2F.
Let's say user is attacker asked victim to came to this page: : http://supporthiring.shopify.com/apps/locksmith/resource/pages/gauntlet-challenge?&path=%2F%2Fevil.com
Victim will be see a 404 error page and after 2 seconds he will be 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 redirect validation only checked for a single leading slash and did not normalise or reject double-slash sequences.
Impact
An attacker could redirect victims from the trusted Shopify domain to a site they control, which may be used in further attacks such as phishing.
What the attacker needed
Victim clicks a crafted link
How it was found
- Craft a link to the vulnerable page with the path parameter set to a double-slash encoded external domain.
- Send the link to a victim.
- The victim sees a 404 page and is then redirected to the attacker's 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.
An open redirect is a flaw where a website takes a user-supplied address and sends the visitor there without checking it is safe. Here the site tried to block this, but a small encoding trick got around the check, so a link on the real site could quietly send someone to a fake site.
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.