Skip to content
Open redirect Write-up Beginner

How a Welcome Email Can Be Used for Malicious Redirection

The endpoint that sends welcome emails accepted client-supplied download URLs for the Android and iOS apps, so an attacker could make the platform send an official email containing links to an attacker-controlled site. A recipient clicking those links would be redirected to that external site.

medium.com

Published on medium.com

Free Article Link: Click for free!

Ehtesham Ul Haq, on medium.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

Root cause

The server accepted user-supplied values for the app download URLs in the welcome email instead of using fixed, pre-approved links.

Impact

Because the email comes from a trusted source, recipients could be sent to attacker-controlled sites, which the author says could enable phishing or malware delivery and damage the brand's credibility.

What the attacker needed

Ability to send a welcome email request; victim receives and clicks the email link

The fix

The server should stop accepting client-supplied download URLs and always insert the correct, pre-approved app store links, ignoring those fields if they appear in requests.

How it was found

  1. Use a valid user email address.
  2. Intercept the request when sending a welcome email.
  3. Change the androidUrl and iosUrl fields to point to an attacker-controlled site.
  4. Forward the request.
  5. The victim receives an official email with the altered download links.
  6. Clicking those links sends the victim to the attacker's 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.

When a website sends an email, it usually fills in the links itself. Here the server trusted whatever links the person making the request supplied. So someone could ask the site to send a real-looking email whose download buttons pointed to a fake site, which is useful for tricking people.

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.

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.