How did I find open redirect on LinkedIn
An open redirect vulnerability was found on LinkedIn, allowing an attacker to craft a LinkedIn URL that redirects to an arbitrary external domain. This could be used in phishing attacks to lend credibility to malicious links.
Published on medium.com
One day, due to the low complexity nature and ease of exploitation, I chose to perform an automated search to identify open redirect vulnerabilities. I used a oneliner that I learned in one of the training sessions given by the renowned Brazilian Bug Hunter OFJAAAH.
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 takes a user-supplied URL parameter and redirects to it without validating that the destination is on an allowed list.
Impact
An attacker could craft a LinkedIn URL that redirects to a malicious site, potentially aiding phishing attacks, though the report does not demonstrate a specific exploit beyond the redirect itself.
What the attacker needed
Victim clicks a crafted LinkedIn URL
The fix
The vulnerability should be fixed by validating and sanitising user input, strictly checking URLs, and using a whitelist of allowed domains for redirects.
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 lets you put a link to another site inside its own address, so the address looks trustworthy but sends you somewhere else. An attacker could use this to trick people into visiting a fake login page that appears to come from the real 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.