Skip to content
IDOR Write-up Intermediate

Gone in six seconds? Exploiting car alarms

The car alarm APIs had insecure direct object references (IDORs) that let an attacker change a user's email address without authentication, then trigger a password reset to take over the account. This gave control over the alarm, allowing the attacker to locate, unlock, disable, and in some cases stop the vehicle.

pentestpartners.com

Published on pentestpartners.com

Key relay attacks against keyless entry vehicles are well known. Many 3rd party car alarm vendors market themselves as solutions to this.

Joe Bursell, on pentestpartners.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 API endpoints for updating user details did not verify that the authenticated user owned the record being modified, allowing an attacker to change arbitrary users' email addresses.

Impact

An attacker could take over any user's alarm account, track the vehicle in real time, unlock doors, disable the immobiliser, and in some cases stop the engine while driving; the text notes that the engine-kill feature was not present in the mobile app UI but was supported in the API.

What the attacker needed

A free demo account; knowledge of a victim user ID

The fix

The vendors fixed the IDOR vulnerabilities in their APIs after being contacted.

How it was found

  1. Create a free demo account on the alarm service.
  2. Send a request to the user update endpoint with another user's ID and a new email address.
  3. Trigger a password reset to the new email address and set a new password.
  4. Log in to the victim's account and use the alarm features to locate, unlock, or disable the vehicle.

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.

An IDOR is a bug where a website trusts an identifier (like a user number) sent by the browser without checking that the person making the request is allowed to change that record. Here, the alarm's API let anyone change another user's email address, and then the normal password reset process handed over the account. Once inside, the attacker could use the alarm's own features to track and control the car.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.