How I found Open redirect on Bug crowd public program in 2 day
An old, forgotten script on a legacy endpoint accepted a parameter that controlled where the browser was sent, allowing an attacker to redirect users to an arbitrary external site. The author found it by enumerating endpoints with a browser extension and then testing the parameter value.
Published on medium.com
First of all, I chose to make this program because it has a new update so I want to do it. On that first day, I didn’t find anything like many programs I’ve done.
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 a legacy script accepted a user-supplied destination parameter and redirected to it without validating that the target was on an allowed domain.
Impact
An attacker could craft a link on the trusted domain that sends victims to an attacker-controlled site, which could be used for phishing; the text does not show any further impact.
What the attacker needed
Attacker can send a crafted link; victim clicks the link
How it was found
- Enumerate endpoints on the target, including with a browser extension that extracts links from JavaScript files
- Notice a legacy endpoint alongside the main one
- Open the legacy page and review old scripts left on it
- Find a script that performs a redirect based on a parameter
- Change the parameter value to an external domain and confirm the redirect
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 and sends the visitor on to another site without checking that the destination is trusted. Here an old script left on the server did this, so a crafted link on the real site could bounce people to a site the attacker controls, which is useful for phishing because the first link looks legitimate.
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.