All vulnerabilities
CRITICALAppSec

APPSEC-AUTO-API-2023

API · Automotive · Automaker telematics APIs (Kia, Hyundai, BMW, Ferrari, and more)

Summary

On January 3, 2023 Sam Curry and a team of researchers published Web Hackers vs. The Auto Industry, documenting critical API authorization flaws across about 16 automakers including Kia, Hyundai, Honda, Nissan, Acura, Infiniti, BMW, Ferrari, Porsche, Rolls Royce and Mercedes-Benz, plus telematics providers such as SiriusXM Connected Vehicle Services and Spireon. The connected-car APIs treated the VIN, which is visible through the windshield and effectively public, as an object identifier without verifying the caller actually owned the vehicle, a Broken Object Level Authorization flaw. Using only a target VIN, researchers could enroll a vehicle to an attacker account or bypass ownership checks and then remotely unlock, start, locate, honk, and track vehicles, achieving full account takeover. Several manufacturers also had Broken Function Level Authorization and misconfigured SSO/OTP endpoints exposing internal dealer portals. The work maps to OWASP API1:2023 (BOLA) and API5:2023 (BFLA).

How to avoid it in your code

  • Never use a public or guessable value (VIN, license plate, email) as the sole access-control key; verify ownership server-side.
  • Enforce object-level authorization on every command and data request against the authenticated owner.
  • Apply function-level authorization so privileged actions (enroll, transfer ownership, remote control) check the caller's role.
  • Require verified ownership proof for enrollment and ownership-transfer flows, not just possession of an identifier.
  • Harden dealer and employee SSO/OTP endpoints; segment internal portals from customer-facing APIs.

References

Related vulnerabilities

All AppSec →