Skip to content
Open redirect Disclosed report Beginner

Open Redirect on ███

A login page accepted a redirection parameter and sent the user to whatever address it contained, including an external site. An attacker could use this to send a victim to a phishing page after they logged in.

assassin_marcos Follow

Originally disclosed on HackerOne

  • Triaged in 31 hours
  • Fixed in 5 months
  • Disclosed after 6 months

NOTE! Thanks for submitting a report! Please replace all the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to triage and respond quickly, so be sure to take your time filling out the report!

Summary: Open Redirect at ███

Your Smule Username: [If applicable]

Description: an attacker can redirect victim to malicious site/ phishing site

Steps To Reproduce:

(Add details for how we can reproduce the issue)

1.Visit 1: ████████?redirection_url=////█████████

Just Login And Watch :)

Boom User Redirected :)

Impact: Redirect user to malicious site or phishing site to steal credentials

Supporting Material/References:

  • List any additional material (e.g. screenshots, logs, etc.)

Impact

Can get user login credential after redirecting user to malicious site/ his phishing site

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

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

This is a medium severity open redirect report against Smule, disclosed on 29 May 2019 and filed against the *.smule.com asset. The researcher, assassin_marcos, gives a single URL on a Smule host with a redirection_url parameter and says the logged-in user is redirected.

The report is short. The summary states the issue is an open redirect, and the description says an attacker can redirect a victim to a malicious or phishing site. The only reproduction step is a single URL, with the host and the destination redacted in the published text:

Text
████████?redirection_url=////█████████

The parameter is named redirection_url, and the value begins with four forward slashes. The researcher adds that the tester should log in first, then follow the link, and that the user is then redirected. No HTTP request or response is included, so the status code and the exact Location header value are not shown.

The impact section says the redirect can send a user to a malicious site or a phishing site in order to steal credentials, and the closing impact note repeats that an attacker could obtain login credentials after redirecting the user to a phishing page. The report gives no bounty amount, no CVSS score and no fix details.

Root cause

The likely cause is that the application reads the redirection_url parameter and uses it as the target of a redirect without checking that it points to a trusted destination. The value begins with four forward slashes. The report does not explain why. The report does not state what validation, if any, the endpoint performed.

Impact

The report frames the impact as phishing: a link on a trusted Smule domain that forwards the victim to an attacker-controlled page, where credentials can be harvested. Because the first hop is a legitimate host, the link looks more convincing than a direct link to the attacker's site. The report does not claim any other impact, such as token theft or access to account data, and does not show a working phishing page.

How this kind of bug works

An open redirect exists when an application accepts a destination from the request and issues a redirect to it without restricting where it can point. Common carriers are login and logout flows, link shorteners, marketing and campaign tracking links, language or country switchers, and any next, return, redirect, url or callback style parameter.

The danger comes from how browsers and URL parsers resolve relative references. A value beginning with // is scheme-relative and keeps the current scheme but changes the host. Values with backslashes, encoded slashes, userinfo tricks such as https://[redacted], or a trusted host embedded in a path can all defeat naive checks. Validation that compares the start of the string, or that only blocks http:// and https://, is easy to get around.

Defences that work are allowlists of permitted destinations, or restricting redirects to relative paths only, combined with parsing the value with a proper URL library and comparing the resolved host against an allowlist after normalisation. A redirect confirmation page is a weaker mitigation but removes the silent bounce.

How to test for it

  1. Map every parameter that looks like a destination: names containing redirect, return, next, url, callback, continue, target or similar. Also watch for parameters that only appear after login or logout.
  2. Send a value pointing at a host you control, for example a plain absolute URL, and observe whether the response is a redirect to that host.
  3. If it is blocked, try variants: scheme-relative values starting with two or more slashes, mixed case in the scheme, backslashes instead of slashes, percent-encoded characters, a trusted host in the userinfo position, and a trusted host followed by an @ or a path that resolves elsewhere.
  4. Check both the raw response and the browser behaviour, since some clients normalise values differently from the server.
  5. A positive result is a response whose Location header, or a client-side navigation, lands on your host. Confirm it in a browser as well, because JavaScript-driven redirects may not appear in the HTTP response.

Common false positives: a redirect that only fires after authentication and cannot be reached by a victim, a parameter that is reflected into the page but never used for navigation, a redirect that only accepts paths on the same host, and a destination that is validated server-side but where the tester only looked at the rendered HTML. Also be careful with redirects to a subdomain you do not control: that is only interesting if the subdomain can be taken over.

How it is fixed

Use an allowlist of permitted redirect targets, or accept only relative paths and reject anything with a scheme or a leading double slash. Parse the value with a URL library, resolve it, and compare the resulting host against the allowlist after normalisation rather than doing string prefix checks. Where a free-form destination is genuinely needed, show an interstitial warning page before redirecting. Log and rate-limit redirect endpoints so abuse is visible.

Hunting notes

Open redirects cluster around authentication and session flows, email verification links, password reset links, OAuth and SSO callbacks, share links, and any feature that returns the user somewhere after an action. Recon signals include parameters with destination-like names in JavaScript bundles and in links from emails, and endpoints that return 301 or 302 responses with a Location header built from input.

To make the report land, show the full request and the response headers, demonstrate the redirect in a browser, and explain the phishing scenario concretely: a link on the trusted domain that lands on a page you control. If the program treats open redirect as low impact, tie it to a flow where the redirect happens after login or carries a token, but only claim that if you have actually observed it.

Difficulty: beginner. The bug class is simple to test with a browser, and this report needed only one URL to demonstrate.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 7 min read.

What happened, in plain words

Smule is a service for singing and sharing music. This report is about a bug on one of its websites, filed under the *.smule.com asset (the wildcard means any subdomain of smule.com). The researcher, assassin_marcos, found an open redirect: a page on Smule that takes a web address from the link you click and sends you to that address.

Think of a receptionist at a trusted office who will walk you to any address written on a note you hand over, no questions asked. The office is real and familiar, so you trust the walk. That is the problem: the first step is on a trusted site, and the last step is wherever the attacker wrote down.

The report is short. The summary says there is an open redirect, and the description says an attacker can redirect a victim to a malicious or phishing site. A phishing site is a fake page that copies a real login screen to trick you into typing your username and password.

The one reproduction step

The report gives a single URL to visit. The host and the destination are blacked out in the published text:

Text
████████?redirection_url=////█████████

Reading it piece by piece:

  • ████████ is the Smule address, hidden in the published report.
  • ? starts the query string, the part of a URL that carries extra information to the page.
  • redirection_url is the name of the parameter, the label on the note. It literally means "the address to redirect to".
  • ////█████████ is the value, the destination. It begins with four forward slashes, and the rest is hidden.

The researcher adds: log in first, then open the link, and the user is redirected. The report does not include the actual HTTP request or response, so we do not see the status code or the exact Location header (the response header that tells the browser where to go next).

Why the four slashes matter

This is worth understanding, because it explains how such a value can point at another host. In a URL, a value that starts with // is read by browsers as protocol-relative: it keeps the current scheme (http or https) but takes the host from what follows. So //evil.example means "same scheme, different host".

A developer who knows about this might write a check that rejects values starting with //. The report does not say what check, if any, the endpoint performed; it only shows the payload that worked.

Impact

The impact section says the redirect can send a user to a malicious site or a phishing site to steal credentials, and the closing note repeats that an attacker could obtain login credentials after redirecting the user to a phishing page. The report does not show a working phishing page, does not claim any other impact such as token theft or access to account data, and gives no bounty amount, no CVSS score and no fix details.

In general, open redirects

An open redirect exists when an application accepts a destination from the request and sends the user there without restricting where it can point. The user sees a link on a trusted domain, clicks it, and lands on an attacker's page. Because the first hop is legitimate, the link looks far more convincing than a direct link to the attacker's site.

Common places to find them:

  • login and logout flows that send you "back" afterwards;
  • link shorteners and marketing or campaign tracking links;
  • language or country switchers;
  • any parameter named next, return, redirect, url or callback.

The danger comes from how browsers and URL parsers resolve relative references. A value beginning with // keeps the scheme but changes the host. Backslashes, percent-encoded slashes, userinfo tricks such as https://[redacted] (where the part before the @ is just a username, not the host), or a trusted host embedded in a path can all defeat naive checks. Validation that compares the start of the string, or that only blocks http:// and https://, is easy to get around.

How to test for it

  1. Map every parameter that looks like a destination: names containing redirect, return, next, url, callback, continue, target or similar. Watch for parameters that only appear after login or logout.
  2. Send a value pointing at a host you control, for example a plain absolute URL, and see whether the response redirects to that host.
  3. If it is blocked, try variants: scheme-relative values starting with two or more slashes, mixed case in the scheme, backslashes instead of slashes, percent-encoded characters, a trusted host in the userinfo position, and a trusted host followed by an @ or a path that resolves elsewhere.
  4. Check both the raw response and the browser behaviour, since some clients normalise values differently from the server.
  5. A positive result is a response whose Location header, or a client-side navigation, lands on your host. Confirm it in a browser too, because JavaScript-driven redirects may not appear in the HTTP response.

Common false positives: a redirect that only fires after authentication and cannot be reached by a victim; a parameter that is reflected into the page but never used for navigation; a redirect that only accepts paths on the same host; and a destination validated server-side where the tester only looked at the rendered HTML. Be careful with redirects to a subdomain you do not control: that is only interesting if the subdomain can be taken over.

How it is fixed

Use an allowlist of permitted redirect targets, or accept only relative paths and reject anything with a scheme or a leading double slash. Parse the value with a URL library, resolve it, and compare the resulting host against the allowlist after normalisation rather than doing string prefix checks. Where a free-form destination is genuinely needed, show an interstitial warning page before redirecting. Log and rate-limit redirect endpoints so abuse is visible.

Hunting notes

Open redirects cluster around authentication and session flows, email verification links, password reset links, OAuth and SSO callbacks, share links, and any feature that returns the user somewhere after an action. Recon signals include parameters with destination-like names in JavaScript bundles and in links from emails, and endpoints that return 301 or 302 responses with a Location header built from input.

To make the report land, show the full request and the response headers, demonstrate the redirect in a browser, and explain the phishing scenario concretely: a link on the trusted domain that lands on a page you control. If the program treats open redirect as low impact, tie it to a flow where the redirect happens after login or carries a token, but only claim that if you have actually observed it.

This bug class is simple to test with a browser, and this report needed only one URL to demonstrate.

Glossary

  • Open redirect: a bug where a site sends you to a destination taken from the request without checking it.
  • Asset: the part of a company's systems a bug bounty program covers; here *.smule.com, meaning any subdomain of smule.com.
  • Bug bounty program: a scheme where companies pay or thank researchers for reporting security bugs.
  • Severity: a rough rating of how serious a bug is; this one is medium.
  • CVSS: a standard scoring system for vulnerability severity; the report gives no score.
  • Parameter: a named value passed in a URL after the ?, such as redirection_url.
  • Query string: the part of a URL after ? that carries parameters.
  • Payload: the crafted value an attacker sends to trigger a bug; here the //// value.
  • Protocol-relative URL: a URL starting with // that keeps the current scheme but takes a new host.
  • Host: the domain name part of a URL, such as smule.com.
  • Scheme: the http or https part at the start of a URL.
  • HTTP request: the message a browser sends to a server asking for a page.
  • HTTP response: the message a server sends back, including a status code and headers.
  • Status code: a number in the response saying what happened, such as 200 for OK or 302 for a redirect.
  • Location header: the response header that tells the browser where to go next.
  • Redirect: a response that tells the browser to load a different address.
  • Phishing: a fake page or message that imitates a real service to steal credentials.
  • Credentials: a username and password, or similar login information.
  • Token: a short piece of data used to prove you are logged in; the report does not claim any token was stolen.
  • Allowlist: a list of values that are explicitly permitted, with everything else rejected.
  • Normalisation: rewriting a value into a standard form so comparisons are reliable.
  • Userinfo: the optional username part before an @ in a URL, which can be abused to make a URL look like it points at a trusted host.
  • False positive: a result that looks like a bug but is not exploitable in practice.
  • OAuth / SSO: login systems that hand you back to another site after signing in, a common home for redirect parameters.
  • Recon: the early stage of looking around a target to find interesting endpoints and parameters.

More by assassin_marcos

View all

1 more disclosed report, best first.

More from Smule

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.