Skip to content
Open redirect Write-up Beginner

How I able to inject my malicious link in Email Confirmation Link

The application's email confirmation link included a user-controlled ReturnUrl parameter without proper validation, allowing an attacker to inject a malicious URL. When a victim clicked the confirmation link, they were redirected to the attacker's site.

Abdul Rehman Parkar Follow

Published on cybersecuritywriteups.com

FREE LINK

Abdul Rehman Parkar, on cybersecuritywriteups.com

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

An attacker could craft a confirmation link that redirects victims to a malicious site, potentially facilitating phishing attacks.

What the attacker needed

Victim clicks the confirmation link; attacker can set ReturnUrl parameter

How it was found

  1. The attacker visited the email confirmation page while unauthenticated and entered an email address.
  2. The attacker modified the ReturnUrl parameter to a malicious URL and submitted the form.
  3. The application sent a confirmation email containing a link with the malicious ReturnUrl value.
  4. The attacker clicked the confirmation link and was redirected to the malicious 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 a flaw where a website takes a URL from the user and sends them there without checking if it's safe. Here, the email confirmation link contained such a URL parameter, so an attacker could make the link point to a malicious site. When the victim clicked the link in the email, they ended up on the attacker's page instead of the legitimate 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.

More by Abdul Rehman Parkar

View all

7 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.