Exploiting Volvo/Eicher’s fleet management platform to gain control over all users and vehicles
Unauthenticated internal APIs exposed user lists, OTPs, and document uploads, allowing an attacker to take over any account and control fleets. The attacker could also access sensitive identity documents.
eaton-works.com
Published on eaton-works.com
Welcome to my next blockbuster automotive hack! This one has been in the works for a long time with roots going back to early 2024 when I disclosed the Toyota insurance company hack.
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 missing authentication and access control on internal API endpoints, which were discoverable by browsing the API path.
Impact
An attacker could take over any user account and control their entire fleet, and could access sensitive documents such as Aadhaar cards and driving licenses.
What the attacker needed
No authentication required; knowledge of API paths
The fix
The primary vulnerability was fixed by removing access to the internal APIs.
How it was found
- Visit the user API path to list available endpoints.
- Access the customers, users, and persons endpoints to obtain lists of accounts.
- Access the OTP API to retrieve all OTPs or OTPs for a specific mobile number.
- Pick a mobile number from the user list and trigger an OTP.
- Use the OTP API to find the OTP for that number.
- Enter the OTP to log in as the user.
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 website had hidden web addresses (APIs) that anyone could visit without logging in. These addresses gave out lists of users, one-time passwords (OTPs) used for login, and uploaded ID documents. An attacker could use an OTP to log in as any user and control their vehicles.
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.