Skip to content
OAuth / SSO Disclosed report Intermediate

Admin Panel Accessed (OAuth Bypassed )

An authentication bypass existed in a Mapbox internal portal where failed OAuth authentication attempts still generated valid sessions. An attacker could use such a session to access authenticated information on the portal.

anees_khan Follow

Originally disclosed on HackerOne

Bounty$4,000 Critical View original
  • Triaged in 8 hours
  • Fixed in 30 hours
  • Paid in 30 hours
  • Disclosed after 17 days

Summary by the program

On December 4, 2017, @aneeskhan reported an authentication bypass vulnerability on a Mapbox internal portal. The vulnerability allowed them to bypass OAuth authentication and generate a valid session for the site. This session was then used by @aneeskhan to access information on the portal which required authentication. Using the details provided by @aneeskhan, Mapbox fixed the session handling code within its portal software preventing failed OAuth authentication attempts from generating valid sessions.

The original report as published on HackerOne, by anees_khan. 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 session handling code created a valid session even when OAuth authentication failed, instead of rejecting the request.

Impact

An attacker could access authenticated information on the internal portal without completing OAuth authentication.

What the attacker needed

Access to the internal portal; ability to attempt OAuth login

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 common way to log in using another service, like signing in with Google. Normally, if that login fails, the site should not let you in. Here, the site still created a working session, which is like a temporary pass, so the person could view pages meant only for logged-in users.

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 anees_khan

View all

1 more disclosed report, best first.

More from Mapbox

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.