Skip to content
Open redirect Disclosed report Beginner

Open redirect in semrush.com

The login page's redirect_to parameter could be abused to send users to an external site after login. An attacker could use this for phishing.

batuhanu Follow

Originally disclosed on HackerOne

  • Triaged in 13 hours
  • Fixed in 5 days
  • Paid in 5 days
  • Disclosed after 8 days

Summary: There is an open redirect on https://www.semrush.com/login/?redirect_to=. By using /\ at the start of the link, you can bypass the open redirect filter.

Description: An attacker can control the value of the "redirect_to" parameter and make it redirect to a malicious endpoint.

Steps To Reproduce:

Visit: www.semrush.com/login/?redirect_to=/\google.com Once you login, you will be redirected to google.com

Impact

This vulnerability can be used for phishing attacks

The original report as published on HackerOne, by batuhanu. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the redirect filter only checked for normal slashes and missed the backslash trick, so the redirect target was not properly validated.

Impact

This could be used for phishing attacks.

What the attacker needed

Victim clicks a crafted link; victim logs in

How it was found

  1. Visit the login page with a crafted redirect_to value starting with a backslash.
  2. Log in.
  3. Observe that the browser is redirected to the 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 report has not been written yet. The Original tab links to the source.

An open redirect is when a site takes a link parameter and sends you to another site without checking it. Here, after logging in, the site sends you to the address in redirect_to. Attackers can use this for phishing.

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 from Semrush

View all

The newest disclosed reports for this program.

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.