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.
Originally disclosed on HackerOne
- 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.
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.