Skip to content
OAuth / SSO Disclosed report Intermediate

OAuth Bug

The report claims that an OAuth endpoint accepts a manipulated redirect parameter, and that a user authorising Twitter through it encounters an error page. It does not show that the redirect actually goes to the attacker's site or that any data is exposed.

atom Follow

Originally disclosed on HackerOne

  • Triaged in 5 hours
  • Fixed in 5 days
  • Disclosed after 7 days

I read the bug of @melvin and I also try to bypass this https://app.respond.ly/_oauth/twitter/?requestTokenAndRedirect=https://hackerone.com

so I made a bypassing tehcnique but didnt work https://app.respond.ly/_oauth/twitter/?requestTokenAndRedirect=//hackerone.com

But I think I found a bug This is the Screen shot: http://prntscr.com/3cu58e

When a user authorizes their twitter to connect with the URL above they will encounter that error.

The original report as published on HackerOne, by atom. 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 OAuth endpoint does not strictly validate the requestTokenAndRedirect parameter, but the text does not confirm the exact mistake.

Impact

The author only observed an error page; no redirect to an attacker-controlled site or data leak is demonstrated.

What the attacker needed

A Twitter account; authorising Twitter through the crafted OAuth URL

How it was found

  1. Open the OAuth URL with the redirect parameter set to an external site.
  2. Change the parameter to a protocol-relative form and observe that the bypass does not work.
  3. Authorise Twitter through the crafted URL and see an error 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.

OAuth is a way to log in to one site using another account, such as Twitter. The site must check where it sends the user afterwards, because a loose check can send them to an attacker's page. Here the author only shows an error page, not a working redirect.

What is OAuth / SSO?

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.

More by atom

View all

16 more disclosed reports, best first.

More from Respondly

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

OAuth and single sign-on flaws

The lesson behind this report.

Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.