Amazon Bypass Open Redirect
The sourceUrl parameter on an Amazon onboarding page accepted a protocol-relative URL beginning with two slashes, causing the page to redirect to an external site. An attacker could craft a link that sends users to a malicious website.
When I first tried to find a loophole in Amazon, I found this station, URL A parameter caught my attention:
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 redirect logic only checked for a full scheme like 'http://' and did not treat a protocol-relative URL starting with '//' as external.
Impact
An attacker could redirect users from a trusted Amazon page to an arbitrary external site, which could be used for phishing.
What the attacker needed
Victim clicks a crafted link
The fix
The report states the issue was fixed after the vendor was notified.
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 whatever address is in it, even if that address is on another site. Here the site tried to block full web addresses but forgot that a link starting with two slashes also means 'go to another site'. An attacker could share a trusted-looking Amazon link that actually lands you on a scam page.
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.