How I Find Open Redirect Bugs Using Waybackurls, Gau & GF Tool
The author found an open redirect vulnerability in a target website's redirect parameter, where a crafted URL caused the site to redirect to an external domain. An attacker could use this for phishing or chaining attacks, though the author's attempt to chain it with XSS was blocked.
medium.com
Published on medium.com
First of all, thank you so much for the support on my previous 👉articles. I know my English isn’t perfect, but I’m trying to share my experiences in bug hunting to help others.
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 failed to validate or restrict the redirect target parameter, allowing arbitrary external URLs.
Impact
An attacker could use the open redirect for phishing or to chain with other attacks, though the author's attempt to chain it with XSS was blocked by the website.
What the attacker needed
Target with redirect parameter; manual testing
How it was found
- Gather URLs for the target domains using waybackurls, gau, and katana.
- Combine and deduplicate the collected URLs.
- Filter URLs containing redirect parameters using the gf tool.
- Manually test the redirect parameter with various payloads.
- Observe that a specific payload successfully redirects to an external site.
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 another site without checking if that site is safe. Attackers can abuse this to trick people into visiting fake login pages that look like they belong to the trusted 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.