A New Bug Hunting Story: Open Redirection Vulnerability
An open redirection vulnerability existed in five places on a popular poetry archive website, likely through parameters such as returnURL. An attacker could manipulate users into being redirected to a malicious site after completing legitimate actions on the real website.
medium.com
Published on medium.com
Here I am with yet another exciting bug-hunting story! This time, I’ll share details about an open redirection bug I discovered on one of Turkey’s most popular poetry archive websites.
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 site accepted a user-supplied redirect destination (such as a returnURL parameter) without validating that it pointed to a trusted domain.
Impact
Users could be redirected to a malicious site after completing legitimate actions, potentially sharing personal data, session information, or cookies without noticing.
What the attacker needed
Victim clicks a crafted link; site uses a redirect parameter
The fix
The site should sanitise all URLs and restrict redirections to domains it controls.
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 lets you tell it where to send someone next, and it does not check that the destination is safe. An attacker can craft a link that looks like it goes to the real site but actually sends the victim to a fake site, where they might enter passwords or personal details.
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.