GPS watch issues… AGAIN
The Gator watch web backend passed the user's privilege level as a client-controlled parameter, so changing it to zero granted platform admin access. An attacker could then view and modify all user accounts and device data, including real-time child locations, and lock users out by changing their credentials.
pentestpartners.com
Published on pentestpartners.com
Over the last year of looking at kids GPS tracking watches we have found some staggering issues. With these devices it almost seems that having multiple security issues is the new normal.
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 backend trusted a client-supplied user grade parameter for authorisation instead of checking the authenticated user's role on the server.
Impact
An attacker could get full access to all account and watch information, view any device's location, and change users' emails or passwords to lock them out; the text says the issue was fixed within 48 hours of reporting.
What the attacker needed
Valid app credentials for the web portal; ability to intercept and modify requests
The fix
The parameter and form were removed and the issue was validated as resolved on the 16th.
How it was found
- Log in to the Gator web portal with app credentials.
- Use a web proxy to intercept the request sent when editing the user profile.
- Change the User[Grade] parameter value to 0.
- Observe that the response grants platform admin functionality, allowing listing and modification of all users and devices.
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.
A website should decide what you are allowed to do based on who you are, not on a value your browser sends. Here the site trusted a number in the request that said what level of user you were, so anyone could edit it to become an administrator. That let them see and change every account and every watch, including where children were.
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.