Skip to content

Reading list

Learn Open redirect from real reports

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

12 reports, easiest first.

  1. The Curious Case of the Open Redirect ($500 Bounty)

    Beginner

    The login flow accepted a user-controlled redirect_to parameter and used it to send users to an external site after clicking a magic login link. An attacker could craft a legitimate-looking login email that redirects the victim to a phishing page, and the parameter also allowed javascript: URLs leading to reflected XSS.

    An open redirect happens when a website takes a link from the user and sends them there without checking it. Here, the login email contained a link that could be changed to point to an attacker's site, so a victim clicking a real company email could end up on a fake login page. The same parameter also allowed running JavaScript, which is a script injection bug.

    The lesson. Likely the application failed to validate or restrict the redirect_to parameter to trusted domains and allowed javascript: schemes.

  2. Video player on ███ allows arbitrary remote videos to be played

    U.S. Dept Of Defense Beginner

    A Flash video player accepted an arbitrary remote XML file via the 'url' parameter, bypassing restrictions by replacing 'http://' with '//'. An attacker could play any video, control its title and description, and set a malicious download link, all appearing to originate from the US Air Force.

    A web page had a video player that could load a video from any address if you tweaked the link. By changing 'http://' to '//', an attacker could make the player show their own video and fake download link, tricking users into thinking it came from the US Air Force.

    The lesson. Likely the URL validation used naive substring checks that could be bypassed with a protocol-relative URL ('//').

  3. Open Redirect in Employer OAuth Flow via Backslash Validation Bypass

    Beginner

    The client-side OAuth redirect handler on an Employer host validated the returnPath parameter with a string denylist that missed backslashes, so a value beginning with a slash and backslash caused the browser to navigate to a different origin. An attacker could craft a link on the trusted domain that sends a user to an external site, which could support phishing.

    When you log in through another service, the site often sends you back to a page you came from using a value in the link. If the site only checks the text of that value instead of where it actually leads, a crafted link can send you to a different website. Here a backslash character confused the check, so the browser ended up on an outside page even though the link started with the trusted domain.

    The lesson. The application used a string-based denylist on the raw returnPath value instead of parsing the URL and comparing the resolved origin, so backslashes that browsers treat like slashes slipped through.

  4. phpGACL return_page redirection open redirect vulnerability

    Cisco Talos Beginner

    The phpGACL library's return_page function redirects users to a URL taken from the return_page query parameter without validation. An attacker could craft a link that, when clicked by an admin, redirects them to an arbitrary site for phishing.

    An open redirect is when a website sends you to another site based on a link you click, without checking if that other site is safe. Here, the phpGACL software takes a web address from the link and uses it to redirect the user, so an attacker can make the link point to a fake login page. The victim might not notice and enter their password on the attacker's site.

    The lesson. The return_page function uses the user-supplied URL in a Location header without any sanitisation or validation.

  5. Open redirect in pipeline artifacts when generating HTML documents

    GitLab Beginner

    GitLab CI/CD artifact links for HTML files on gitlab.com redirect to a user-controlled gitlab.io pages domain, creating an open redirect. An attacker could craft a gitlab.com link that redirects victims to a malicious site, potentially used for phishing.

    An open redirect is when a website sends you to another site without checking if that destination is safe. Here, a link on gitlab.com automatically forwards you to a page the attacker controls, so the link looks trustworthy but leads somewhere else.

    The lesson. Likely the artifact file link on gitlab.com redirects to the pages domain without validating the destination, allowing user-controlled HTML to be served and redirect further.

  6. Turning a Login Redirect Into a Backdoor Into OopsSec Store’s Internals

    Beginner

    The login page's redirect parameter was not validated, allowing an attacker to redirect users to any external URL. By setting the redirect to an internal OAuth callback page, the attacker could also trigger the setting of a required cookie and access that otherwise gated page.

    An open redirect is when a website lets you specify where to go next, and it blindly trusts that input. Here, the login page used a 'redirect' parameter to send you to a page after logging in, but it didn't check if the destination was safe. An attacker could use this to send you to a malicious site, or in this case, to sneak into a hidden internal page that was supposed to be off-limits.

    The lesson. The application used the user-controlled redirect parameter directly in window.location.href without validating that the target was a safe, same-origin path.

  7. Open redirect protection (https://www.pixiv.net/jump.php) is broken for novels

    pixiv Beginner $200

    The open redirect protection that wraps external links in a jump page was not applied to links inside novels, even though the preview showed it was. An attacker could craft a novel link that displays a trusted-looking URL but actually redirects the victim to an arbitrary external site.

    An open redirect is when a website lets you craft a link that looks like it belongs to that site but sends visitors somewhere else. Here, the site normally wraps outside links in a safety page, but that wrapper was missing for links inside novels. So a link could show one address while taking the reader to a different, possibly malicious, site.

    The lesson. Likely the novel rendering path did not apply the same jump.php link-wrapping logic that illustration pages and the novel preview use.

  8. Open Redirect Vulnerability in OAuth Flow Leading to Potential Phishing Attack

    Lichess Beginner

    The OAuth flow on lichess4545.com did not validate the redirect_uri parameter, allowing an attacker to change it to an arbitrary external domain. After a user authorised the OAuth request, they could be redirected to a malicious site for phishing.

    When you log in to a website using another service (like Lichess), the website tells the service where to send you back afterwards. This report found that the website did not check that the return address was its own, so an attacker could change it to a fake site. That fake site could then trick you into giving away your password or other information.

    The lesson. Likely the OAuth implementation did not validate that the redirect_uri parameter matched a pre-registered URL, allowing any external domain to be used.

  9. Open redirect in "Language change".

    HackerOne Beginner $500

    The language chooser did not strip excess slashes and the web server responded to internal requests from other FQDNs, which together caused an unwanted redirect when changing language.

    An open redirect sends you to another site based on a link. Here, extra slashes plus changing language caused a redirect to an external domain, which could be unwanted.

  10. Internal Open Redirection Due to Improper handling of "../" characters

    GitLab Beginner

    The GitLab refs/switch endpoint did not properly sanitise the 'path' parameter, allowing an attacker to include '../' sequences and manipulate the Location header. This could redirect users to a different project, potentially leading to data theft.

    When you click a link, the server can send you to another page using a 'Location' header. This report shows that by putting special characters like '../' in a parameter, an attacker could make the server send you to a different project than the one in the link. That could trick you into visiting a malicious page.

    The lesson. The application failed to sanitise the 'path' parameter, allowing directory traversal sequences to alter the redirect target.

  11. [hekto] open redirect when target domain name is used as html filename on server

    Node.js third-party modules Beginner

    The hekto module redirects requests for extensionless HTML files by appending a slash to the request URL. When the request path begins with two slashes, the redirect Location header becomes a protocol-relative URL pointing to an external domain, enabling an open redirect.

    An open redirect is when a website sends you to another site based on something you put in the link. Here, if a file named after a domain exists, a request with two slashes at the start makes the server redirect to that domain instead of staying on the same site. Attackers can use this to make phishing links look like they belong to the trusted site.

    The lesson. The redirect location is built by concatenating the raw request URL with a slash, without validating that the resulting path is relative to the current host, so a leading double slash turns it into a protocol-relative external URL.

  12. Open redirect in Serendipity (exit.php)

    Hanno's projects Beginner

    The exit.php script in Serendipity redirects users to a URL supplied in the 'url' parameter after base64 decoding, without validating the hostname. An attacker can craft a link that redirects victims to an arbitrary site.

    An open redirect is a flaw where a site sends you to another site based on a link you click. Here, the site takes a web address from the link and forwards you there without checking the hostname.

    The lesson. The script decodes a user-supplied URL and uses it in a Location header without validating the destination hostname.