Unvalidated Open Redirect Bol.com
Two open redirect vulnerabilities were found on Bol.com subdomains. An attacker could craft links that redirect users to a phishing site, potentially stealing credentials.
Published on medium.com
Today we’re going to have a look at Unvalidated Redirect bugs.
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 application did not validate or whitelist the redirect URL parameter, allowing arbitrary external URLs.
Impact
Attackers could redirect users to phishing sites, potentially leading to credential theft; the first redirect required user action, while the second redirected immediately.
What the attacker needed
Victim clicks a link (first bug); no user action (second bug)
The fix
The vulnerabilities were fixed by Bol.com, likely by whitelisting allowed domains or using a hashing system to approve URLs.
How it was found
- Craft a URL with a malicious reference_url parameter pointing to an attacker-controlled page.
- Set the reference_type parameter to a convincing button text such as 'login & apply for the job'.
- Send the crafted link to a victim; when clicked, the button redirects to the malicious site.
- For the affiliates subdomain, craft a URL with a malicious url parameter; visiting it redirects immediately without user action.
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 a flaw where a website takes a URL from the request and sends the user there without checking if it's safe. Attackers can abuse this to send people to fake login pages that look like the real site, tricking them into giving away passwords.
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.