Unmasking an Open Redirect on the India’s Government Website
The logout endpoint of a government website accepted a redirect URL parameter and sent users to any external site supplied in it. An attacker could craft a logout link that redirected victims to a phishing page after they clicked it.
Published on medium.com
I hope you all are having a good day, Raja Singh here, a security researcher passionate about making the web safer. Today, I want to share my experience discovering an open redirect vulnerability on the Indian Government Site website ill be using redact.
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
Impact
Users who click a crafted logout link could be sent to a phishing site that may steal their login credentials or other sensitive information.
What the attacker needed
Victim clicks a crafted logout link
How it was found
- Capture the website's requests and responses with Burp Suite and save the HTTP URLs to a text file.
- Run OpenRedireX against the URL list with a fuzzing parameter to test for open redirects.
- Review the results and find the logout URL with a redirecturl parameter that accepts an external domain.
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 web address from the link you clicked and sends you there without checking it is safe. Here, the logout page did this, so a link that looks like it belongs to the government site could quietly send you to a fake login page. That fake page might steal your password.
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.