Skip to content
Open redirect Disclosed report Beginner

Open Redirect on https://go.bitwala.com/

soe_htet Follow

Originally disclosed on HackerOne

  • Fixed in 35 days
  • Disclosed after 2 months

Hello I found open redirect bug on https://go.bitwala.com. I know that domain is not in scope.I just want to inform a bug.

Steps To Reproduce:

  1. go to https://go.bitwala.com/d4ffbnr?campaign=brand-nov&adgroup=native&creative=link-liquidity%20&fallback=https%3A%2F%2Fwww.bitwala.com%2F%3Futm_source%3Dcryptomonday%26utm_campaign%3Dbrand-nov%26utm_medium%3Dnative%26utm_content%3Dlink-liquidity%20

  2. Change the url like thishttps://go.bitwala.com/d4ffbnr?campaign=brand-nov&adgroup=native&creative=link-liquidity%20&fallback=https://www.google.com

  3. It will redirect to https://www.google.com

Impact

An attacker can use this vulnerability to redirect other malicious,evil websites . https://cwe.mitre.org/data/definitions/601.html

The original report as published on HackerOne, by soe_htet. 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

The researcher reported an open redirect on https://go.bitwala.com, a host used for campaign and advertising traffic. The report states plainly that this domain is not in scope and that the researcher submitted it only to inform the program of the bug.

The affected feature is a redirect endpoint that takes a fallback parameter. The endpoint path in the report is /d4ffbnr, and the surrounding query string carries campaign tracking values (campaign, adgroup, creative). The fallback value is where the destination is supplied.

Steps to reproduce, as given in the report:

  1. Visit the legitimate campaign URL, which contains a URL-encoded fallback pointing at the vendor site:
HTTP
https://go.bitwala.com/d4ffbnr?campaign=brand-nov&adgroup=native&creative=link-liquidity%20&fallback=https%3A%2F%2Fwww.bitwala.com%2F%3Futm_source%3Dcryptomonday%26utm_campaign%3Dbrand-nov%26utm_medium%3Dnative%26utm_content%3Dlink-liquidity%20
  1. Replace the fallback value with an external site:
HTTP
https://go.bitwala.com/d4ffbnr?campaign=brand-nov&adgroup=native&creative=link-liquidity%20&fallback=https://www.google.com
  1. The response redirects the browser to https://www.google.com.

The report does not mention a bounty, a CVSS score or a fix. The platform lists it as medium severity with the weakness Open Redirect, disclosed on 30 October 2020.

Root cause

The report does not describe the server-side implementation, so the cause is not shown. The parameter name suggests it is meant as a safety net: when the primary destination cannot be resolved, the user is sent to a fallback page. If that fallback is trusted blindly, any value becomes a valid redirect target.

Impact

The report's impact statement is short: an attacker can use the vulnerability to redirect users to other malicious or evil websites. It links to CWE-601, URL Redirection to Untrusted Site. The report says only that an attacker can use the vulnerability to redirect users to other malicious or evil websites. The report does not demonstrate any chaining with other bugs, and it does not claim the domain was in scope.

How this kind of bug works

An open redirect exists when an application takes a destination from user-controlled input and sends the browser there with a 3xx response or a client-side navigation, without checking that the destination is permitted. The bug class is common in three places: login and logout flows that carry a next, return or redirect parameter; marketing and tracking endpoints that bounce users onward; and fallback or error paths that send users somewhere when the main action fails.

The danger is not the redirect itself but the trust it borrows. A link on the organisation's own domain passes casual inspection, survives some link filters that only check the visible host, and can be dressed up with the organisation's real tracking parameters. From there the attacker lands the victim on a credential-harvesting page or a malware download.

Defences fall into two groups. The robust approach is to stop accepting arbitrary destinations: use an allowlist of permitted hosts and paths, or replace the destination with an opaque identifier that the server maps to a known URL. Where a relative path is enough, accept only paths that begin with a single slash and reject anything containing a scheme or a double slash. The weaker approach is to validate the value, which is where most bypasses appear.

How to test for it

Look for parameters whose names imply a destination: redirect, url, next, return, returnUrl, continue, dest, target, fallback, callback, checkout_url. Grep proxy history and JavaScript bundles for these names, and watch for 3xx responses whose Location header echoes part of the request.

A concrete method:

  1. Send the parameter with an external host you control, for example a domain you own, and observe whether the response is a redirect to it or a page that navigates there.
  2. If it is blocked, try variations that test the parser: a scheme-relative value starting with two slashes, a value with userinfo such as https://[redacted], mixed case in the scheme, a backslash instead of a slash, an encoded or double-encoded value, and a value with leading whitespace or control characters.
  3. Check both the server response and the rendered page. A redirect may happen in JavaScript after load, so inspect the DOM and network tab rather than only the status code.
  4. Confirm the final landing page is genuinely off-site and not an interstitial warning page.

A positive result is a response that sends the browser to a host outside the organisation's control, reproducibly, from a link that a victim could be persuaded to click. Common false positives: the application shows an interstitial "you are leaving" page that requires a click; the redirect only fires for allowlisted hosts and your test host was silently swapped for a default; the parameter is reflected into the page body but never used for navigation; or the redirect target is constrained to a path on the same host, which is not an open redirect.

How it is fixed

  • Maintain an allowlist of destination hosts and paths, and reject anything else, defaulting to a safe internal page.
  • Prefer indirect references: store the destination server-side and pass an identifier in the parameter.
  • If only internal navigation is needed, accept relative paths only, rejecting values with a scheme, a leading double slash, backslashes or encoded equivalents.
  • Parse the value with a proper URL parser and compare the resulting host against the allowlist, rather than matching substrings.
  • Avoid reflecting the rejected value back into the page, and log rejected attempts for monitoring.

Hunting notes

This bug class hides in traffic that is easy to overlook: campaign and tracking subdomains, SSO and OAuth callback handlers, password reset and email confirmation links, mobile app deep-link bridges, and error pages that offer a "go back" link. Recon signals include hosts named go., link., redirect., sso. or auth., parameters that carry full URLs in query strings, and JavaScript that reads a query parameter and assigns it to window.location.

To get a report accepted, show the full request and the resulting redirect, use a domain you control rather than a well-known site so the destination is clearly attacker-owned, and explain the realistic attack: a convincing link on the organisation's domain that lands on a phishing page. If the host is out of scope, say so up front, as this researcher did, and keep the report factual so the program can triage it quickly.

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

A security researcher found a bug on https://go.bitwala.com, a web address the company uses for advertising and campaign links. The researcher says straight away that this domain is not part of the bug bounty programme's scope, meaning it is not one of the systems the programme officially pays people to test. The report was sent only to let the company know the bug exists.

The bug is an open redirect. To understand it, imagine a receptionist who is told "send this visitor to room 12". If the receptionist sends anyone to any room they name, without checking, then anyone can send a visitor anywhere. Here, the website takes a destination from the link itself and sends the visitor there without checking that the destination is a trusted one.

The feature involved is a redirect endpoint: a page whose only job is to send your browser onward to another address. The path in the report is /d4ffbnr, and the link also carries tracking values (campaign, adgroup, creative) that advertisers use to see which advert brought a visitor in. The destination is supplied in a parameter called fallback. A parameter is simply a named value attached to the end of a web address, after a ?, the way a form field has a name and a value.

Steps to reproduce

  1. Visit the legitimate campaign link. Its fallback value points at the company's own site, and it is URL-encoded: special characters are written in a percent form (for example %3A for a colon) so they can travel safely inside a web address.
HTTP
https://go.bitwala.com/d4ffbnr?campaign=brand-nov&adgroup=native&creative=link-liquidity%20&fallback=https%3A%2F%2Fwww.bitwala.com%2F%3Futm_source%3Dcryptomonday%26utm_campaign%3Dbrand-nov%26utm_medium%3Dnative%26utm_content%3Dlink-liquidity%20

Reading it piece by piece: go.bitwala.com is the host, /d4ffbnr is the path, and everything after ? is the query string. The pairs campaign=brand-nov, adgroup=native and creative=link-liquidity%20 are tracking values. The last pair, fallback=..., holds the destination, encoded so that the inner address's own ?, & and = characters do not clash with the outer ones. This step shows the link as given in the report, with the fallback pointing at the company's own site.

  1. Change only the fallback value to an outside site:
HTTP
https://go.bitwala.com/d4ffbnr?campaign=brand-nov&adgroup=native&creative=link-liquidity%20&fallback=https://www.google.com

This step changes the fallback value to an outside site.

  1. The browser is redirected to https://www.google.com.

The report states that it will redirect to https://www.google.com.

Impact

The report's impact statement is short: an attacker can use the vulnerability to redirect users to other malicious or evil websites. It links to CWE-601, the public catalogue entry for "URL Redirection to Untrusted Site".

The report does not mention a bounty, a CVSS score or a fix. The platform lists it as medium severity, weakness Open Redirect, disclosed on 30 October 2020.

In general, how this kind of bug works

An open redirect exists when a website takes a destination from input the visitor controls and sends the browser there, without checking that the destination is allowed. It is common in three places: login and logout flows that carry a next, return or redirect parameter; marketing and tracking endpoints that bounce visitors onward; and fallback or error paths that send people somewhere when the main action fails.

The danger is not the redirect itself but the trust it borrows. A link on the organisation's own domain looks genuine at a glance, can pass link filters that only check the visible host, and can be dressed up with the organisation's real tracking values. From there the attacker lands the victim on a fake login page that steals the password, or on a malware download.

Defences fall into two groups. The robust approach is to stop accepting arbitrary destinations: keep an allowlist of permitted hosts and paths, or replace the destination with an opaque identifier that the server maps to a known address. Where a relative path is enough, accept only paths beginning with a single slash and reject anything containing a scheme or a double slash. The weaker approach is to validate the value, which is where most bypasses appear.

How to test for it

Look for parameters whose names suggest a destination: redirect, url, next, return, returnUrl, continue, dest, target, fallback, callback, checkout_url. Search your proxy history (a record of the requests your browser made) and JavaScript files for these names, and watch for redirect responses whose Location header repeats part of your request.

  1. Send the parameter with an external host you control, for example a domain you own, and see whether the response redirects there or a page navigates there.
  2. If it is blocked, try variations that test how the value is parsed: a scheme-relative value starting with two slashes, a value with userinfo such as https://[redacted], mixed case in the scheme, a backslash instead of a slash, an encoded or double-encoded value, and a value with leading whitespace or control characters.
  3. Check both the server response and the rendered page. A redirect may happen in JavaScript after the page loads, so inspect the page and the network tab, not only the status code.
  4. Confirm the final landing page is genuinely off-site and not a warning page in between.

A positive result is a response that sends the browser to a host outside the organisation's control, reproducibly, from a link a victim could be persuaded to click. Common false positives: an interstitial "you are leaving" page that needs a click; a redirect that only fires for allowlisted hosts, with your test host silently swapped for a default; a parameter reflected into the page but never used for navigation; or a target limited to a path on the same host, which is not an open redirect.

How it is fixed

  • Keep an allowlist of destination hosts and paths, reject anything else, and default to a safe internal page.
  • Prefer indirect references: store the destination on the server and pass an identifier in the parameter.
  • If only internal navigation is needed, accept relative paths only, rejecting values with a scheme, a leading double slash, backslashes or encoded equivalents.
  • Parse the value with a proper URL parser and compare the resulting host against the allowlist, rather than matching substrings.
  • Avoid reflecting the rejected value back into the page, and log rejected attempts for monitoring.

Hunting notes

This bug class hides in traffic that is easy to overlook: campaign and tracking subdomains, single sign-on and OAuth callback handlers, password reset and email confirmation links, mobile app deep-link bridges, and error pages that offer a "go back" link. Recon signals include hosts named go., link., redirect., sso. or auth., parameters carrying full URLs in query strings, and JavaScript that reads a query parameter and assigns it to window.location.

To get a report accepted, show the full request and the resulting redirect, use a domain you control rather than a well-known site so the destination is clearly attacker-owned, and explain the realistic attack: a convincing link on the organisation's domain that lands on a phishing page. If the host is out of scope, say so up front, as this researcher did, and keep the report factual so the programme can triage it quickly.

Glossary

  • Open redirect: a bug where a site sends visitors to a destination taken from the link, without checking that the destination is trusted.
  • Scope: the list of systems a bug bounty programme officially allows and pays for testing.
  • Bug bounty programme: a scheme where organisations reward people for reporting security bugs.
  • Endpoint: a specific address on a server that performs a particular action.
  • Parameter: a named value attached to a web address after ?, like a form field.
  • Query string: the part of a web address after ?, holding parameters.
  • Path: the part of a web address after the host, such as /d4ffbnr.
  • Host: the domain name part of a web address, such as go.bitwala.com.
  • URL encoding: writing special characters in percent form, such as %3A for a colon, so they can travel inside a web address.
  • Redirect: a response that tells the browser to load a different address.
  • Location header: the part of a redirect response that names the address to go to.
  • 3xx response: an HTTP status code family meaning the browser should look elsewhere.
  • Allowlist: a list of values that are explicitly permitted, with everything else refused.
  • Scheme: the first part of a web address, such as https, that says how to reach it.
  • Scheme-relative: an address starting with //, which borrows the scheme of the current page.
  • Userinfo: the user@ part before a host in an address, which can be abused to disguise the real host.
  • CWE-601: the public catalogue entry for URL Redirection to Untrusted Site.
  • CVSS: a standard 0 to 10 score for the severity of a vulnerability.
  • Phishing: tricking someone into entering details, such as a password, on a fake page.
  • Interstitial page: a warning page shown between two pages that asks the visitor to click before continuing.
  • False positive: a test result that looks like a bug but is not one.
  • Proxy: a tool that sits between your browser and the site and records the requests and responses.
  • DOM: the browser's in-memory model of the page, which scripts can read and change.
  • window.location: the browser property that holds the current address and can be set to navigate elsewhere.
  • OAuth: a common way for sites to let you sign in through another provider, using callback addresses.
  • Single sign-on (SSO): signing in once to reach several separate systems.

More from Nuri

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.