Skip to content
OAuth / SSO Write-up Intermediate

How I Found a Critical SAML Authentication Bypasson a Major Automotive Company's Dealer Portal

An exposed pre-production SAML testing tool was publicly reachable with no authentication and had real employee data pre-filled. By submitting a forged SAML assertion through it, the author was redirected into the dealer portal dashboard, gaining access to the OTA vehicle update system.

ousski Follow

Published on ousski.medium.com

During a routine bug bounty reconnaissance session , i came across an exposed pre-production application that lead to one of my most impactful findings , a complete SAML authentication bypass affecting a major auto-company , including their OTA vehicle software update infrastructure

Ousski, on ousski.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application did not verify the cryptographic signature on SAML assertions, and an internal SAML testing tool was exposed publicly with real data pre-filled.

Impact

An unauthenticated attacker could impersonate any dealer identity and reach the dealer portal and OTA vehicle update system, and the author states the same path was available against production.

What the attacker needed

No account needed; knowledge of the exposed subdomain

The fix

The report does not describe the fix, but the tool should be removed from public access and SAML signature validation enforced.

How it was found

  1. Find the pre-production subdomain during subdomain enumeration and screenshot review.
  2. Open the subdomain and see a publicly accessible SAML testing tool with pre-filled fields.
  3. Submit a request to the SSO login endpoint with a forged SAML assertion and the staging environment selected.
  4. Follow the redirect to the dealer portal dashboard.

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 write-up has not been written yet. The Original tab links to the source.

When you log in through a single sign-on system, the identity provider sends a signed message (a SAML assertion) saying who you are, and the application is meant to check that signature. Here the application accepted a message the author had made up, so it believed they were a legitimate dealer employee. The testing tool that made this easy was left open to anyone on the internet and even had real employee details filled in.

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 ousski

View all

4 more disclosed reports, best first.

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.