Skip to content
Account takeover Write-up Advanced

unlocking any car from X brand in most of the world

The automaker's connected car platform exposed an admin tool with hardcoded API keys and an OpenIDM instance with admin credentials in a JavaScript bundle. An attacker could chain these to bypass authentication and MFA, mint a consumer app token for any user, and send remote commands such as unlocking doors to any vehicle in Australia.

Shubham Shah Follow

Published on shubs.io

I've always had a soft spot for this particular car brand. Our family has owned a few of them over the years, and they've served us incredibly well.

Shubham Shah, on shubs.io

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 a combination of exposed administrative interfaces, hardcoded credentials in client-side JavaScript, and a WAF bypass via path traversal, compounded by an MFA bypass in the identity platform.

Impact

An attacker could unlock and start the engine of any of the automaker's vehicles in Australia, the United States, and Canada, using only the number plate.

What the attacker needed

Knowledge of the vehicle's number plate; access to the internet; no authentication required for some APIs

How it was found

  1. Decompile the mobile app to find the API domain and admin tool subdomain.
  2. Inspect the admin tool's JavaScript bundle to find hardcoded API keys and OpenIDM admin credentials.
  3. Use the admin API to go from number plate to VIN to subscriber GUID to user email.
  4. Bypass the WAF using a path traversal prefix to reach OpenIDM endpoints.
  5. Use the admin credentials to reset any user's password via a PATCH request.
  6. Bypass MFA by using the ROPC flow to obtain tokens and mint a consumer app token, then send remote commands.

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.

The car maker's internal admin website and identity system were reachable from the internet and had secret passwords left in its public code. By finding a way around the website's firewall and skipping the extra login step, the researchers could pretend to be any car owner and unlock their car.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by Shubham Shah

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.