Skip to content
Access control Disclosed report Intermediate

Auth.Tesla.com Account Takeover of Internal Tesla Accounts

The Tesla Retail Tool accepted logins from both the external and internal identity providers without checking which one a user authenticated with. An attacker could register an external account using a former employee's internal email address and inherit that user's privileges in the tool.

evanconnelly Follow

Originally disclosed on Bugcrowd

Critical View original
  • Accepted in 10 days
  • Fixed in 11 days
  • Disclosed after 4 months

Summary by evanconnelly

Tesla has two Identity Providers (IDPs), auth.tesla.com for external users and sso.telsa.com for employees. Tesla Retail Tool (TRT) allows logins from both and was not checking what IDP the user logged-in with (auth.tesla.com vs sso.tesla.com). This made for a condition where via Google Dorks, I was able to identify names and extrapolate email addresses of former Tesla staff and then register accounts with the external IDP using the email addresses of former employees whose accounts had been disabled on the internal IDP but who still had privileges defined by their internal Tesla email address within TRT and ultimately log into TRT with the privileges of those users.

The original report as published on Bugcrowd, by evanconnelly. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

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 application trusted the email address as the identity and never verified which identity provider issued the login.

Impact

An attacker could log into the Tesla Retail Tool with the privileges of former employees whose internal accounts had been disabled.

What the attacker needed

Names of former staff are publicly findable; external sign-up with a work email is allowed; former accounts still hold privileges in the tool

How it was found

  1. Find names of former Tesla staff through public search (Google Dorks).
  2. Work out their internal Tesla email addresses from those names.
  3. Register external accounts with the external identity provider using those email addresses.
  4. Log into the Tesla Retail Tool and receive the privileges tied to those internal email addresses.

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.

A company can have two login systems: one for the public and one for staff. This tool let you in through either door but never checked which door you used. So someone could sign up on the public door using a former employee's work email and be treated as that employee inside the tool.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by evanconnelly

View all

1 more disclosed report, best first.

More from Tesla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.