Skip to content
Open redirect Disclosed report Beginner

Limited Open redirection using SSO-SAML

A double slash in the SAML sign-in path bypassed the external link warning page, giving a limited open redirect to an SSO URL.

shailesh4594 Follow

Originally disclosed on HackerOne

  • Triaged in 6 days
  • Fixed in 21 days
  • Disclosed after 5 months

Hello,

Endpoint: https://hackerone.com/users//saml/[email protected]&remember_me=true

Recently, you have patched an open redirection issue which was reported as #171398. I found a bypass of that patch.

Steps to reproduce:

  1. Add following in comment/report :

https://hackerone.com/users//saml/[email protected]&remember_me=true 2. Click on link. 3. You will redirected on SSO URL without going through External Link Warning page. 4. Done.

PoC : https://hackerone.com/users/saml/[email protected]&remember_me=true (Through external warning page) https://hackerone.com/users//saml/[email protected]&remember_me=true (Without external warning page)

Suggested Fix: Use more stronger regular expression and filtration at this endpoint.

Best regards, Shailesh

The original report as published on HackerOne, by shailesh4594. 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 patch that blocked the redirect used a pattern that did not account for a double slash in the path, so the redirect still fired without the warning.

What the attacker needed

Victim clicks a crafted link

The fix

The endpoint should use a stronger regular expression and filtering to block the bypass.

How it was found

  1. Place the crafted link in a comment or report.
  2. Click the link.
  3. Observe the redirect to the SSO URL without the external link warning page.

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 website sends you to another site based on a link you click. Normally a warning page appears first, but adding an extra slash in the address skipped that warning, so the redirect happened silently.

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 by shailesh4594

View all

4 more disclosed reports, best first.

More from HackerOne

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.